OSDN Git Service

net: make namespace iteration possible under RCU
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Jul 2009 09:51:33 +0000 (09:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Jul 2009 21:03:25 +0000 (14:03 -0700)
All we need to take care of is using proper RCU list
add/del primitives and inserting a synchronize_rcu()
at one place to make sure the exit notifiers are run
after everybody has stopped iterating the list.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found