kernel-aes67/net/netlink
Johannes Berg 6c04bb18dd netlink: use call_rcu for netlink_change_ngroups
For the network namespace work in generic netlink I need
to be able to call this function under rcu_read_lock(),
otherwise the locking becomes a nightmare and more locks
would be needed. Instead, just embed a struct rcu_head
(actually a struct listeners_rcu_head that also carries
the pointer to the memory block) into the listeners
memory so we can use call_rcu() instead of synchronising
and then freeing. No rcu_barrier() is needed since this
code cannot be modular.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-12 14:03:24 -07:00
..
af_netlink.c netlink: use call_rcu for netlink_change_ngroups 2009-07-12 14:03:24 -07:00
genetlink.c genetlink: Introduce genl_register_family_with_ops() 2009-05-21 16:50:22 -07:00
Makefile netlink: Move netlink attribute parsing support to lib 2009-03-04 14:53:30 +08:00