tipc: tipc: convert node list and node hlist to RCU lists
authorYing Xue <ying.xue@windriver.com>
Thu, 27 Mar 2014 04:54:37 +0000 (12:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2014 17:08:37 +0000 (13:08 -0400)
commit6c7a762e70637a256229f9dc9ca793908e8bd01b
treead8c61e1fa48fdc36e799be6f8f67d257ee080b1
parent46651c59c483f14fd35cf7df2104feac0e54e258
tipc: tipc: convert node list and node hlist to RCU lists

Convert tipc_node_list list and node_htable hash list to RCU lists.
On read side, the two lists are protected with RCU read lock, and
on update side, node_list_lock is applied to them.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/name_distr.c
net/tipc/node.c
net/tipc/node.h