tipc: convert bearer_list to RCU list
authorYing Xue <ying.xue@windriver.com>
Mon, 21 Apr 2014 02:55:45 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 01:17:52 +0000 (21:17 -0400)
commitf8322dfce5766c8e26d9224cbcaf6fdc0b2eb04d
tree9631ad1e81d63e7199350788f997733a5eb873e9
parentf97e455abf0d83b7d69da295163db18e3ebb4d8b
tipc: convert bearer_list to RCU list

Convert bearer_list to RCU list. It's protected by RTNL lock on
update side, and RCU read lock is applied to read side.

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