OpenCloudOS-Kernel/net/netlink
Patrick McHardy 4277a083ec [NETLINK]: Add netlink_has_listeners for avoiding unneccessary event message generation
Keep a bitmask of multicast groups with subscribed listeners to let
netlink users check for listeners before generating multicast
messages.

Queries don't perform any locking, which may result in false
positives, it is guaranteed however that any new subscriptions are
visible before bind() or setsockopt() return.

Signed-off-by: Patrick McHardy <kaber@trash.net>
ACKed-by: Jamal Hadi Salim<hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 18:52:01 -08:00
..
Makefile [NETLINK]: Generic netlink family 2005-11-10 02:26:41 +01:00
af_netlink.c [NETLINK]: Add netlink_has_listeners for avoiding unneccessary event message generation 2006-03-20 18:52:01 -08:00
attr.c [NETLINK]: Type-safe netlink messages/attributes interface 2005-11-10 02:26:40 +01:00
genetlink.c [NETLINK] genetlink: Fix bugs spotted by Andrew Morton. 2006-02-13 15:51:24 -08:00