mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* netlink multicast then unicast
@ 2005-11-24 15:36 Linh Dang
  0 siblings, 0 replies; only message in thread
From: Linh Dang @ 2005-11-24 15:36 UTC (permalink / raw)
  To: linux-kernel


Hi

In netlink_sendmsg(), what's the reason for the unicast that follow
the multicast? shouldn't there be an `else' there? I.e. if it's a
multicast then dont unicast.

 	if (dst_group) {
		atomic_inc(&skb->users);
		netlink_broadcast(sk, skb, dst_pid, dst_group, GFP_KERNEL);
	}
	err = netlink_unicast(sk, skb, dst_pid, msg->msg_flags&MSG_DONTWAIT);


Thx

-- 
Linh Dang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-24 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-24 15:36 netlink multicast then unicast Linh Dang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®