packet: convert socket list to RCU (v3)
authorstephen hemminger <shemminger@vyatta.com>
Mon, 22 Feb 2010 07:57:18 +0000 (07:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2010 23:45:56 +0000 (15:45 -0800)
commit808f5114a9206fee855117d416440e1071ab375c
treecec3f04220909b77c0880029b63862553ad5161c
parent1cc523271ef0b6305c565a143e3d48f6fff826dd
packet: convert socket list to RCU (v3)

Convert AF_PACKET to use RCU, eliminating one more reader/writer lock.

There is no need for a real sk_del_node_init_rcu(), because sk_del_node_init
is doing the equivalent thing to hlst_del_init_rcu already; but added
some comments to try and make that obvious.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/packet.h
include/net/sock.h
net/packet/af_packet.c