netlink multicast then unicast

From: Linh Dang
Date: Thu Nov 24 2005 - 10:36:25 EST



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/