aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorYing Xue <[email protected]>2014-04-21 02:55:47 +0000
committerDavid S. Miller <[email protected]>2014-04-23 01:17:53 +0000
commit2231c5af451e4b7ae3cc56eaa4653af6ede51109 (patch)
tree7c7e78e9adc9f746f64290530d40ce7a9b155fb7 /net/tipc/node.c
parenttipc: decouple the relationship between bearer and link (diff)
downloadkernel-2231c5af451e4b7ae3cc56eaa4653af6ede51109.tar.gz
kernel-2231c5af451e4b7ae3cc56eaa4653af6ede51109.zip
tipc: use RCU to protect media_ptr pointer
Now the media_ptr pointer is protected with tipc_net_lock write lock on write side; tipc_net_lock read lock is used to read side. As the part of effort of eliminating tipc_net_lock, we decide to adjust the locking policy of media_ptr pointer protection: on write side, RTNL lock is use while on read side RCU read lock is applied. Signed-off-by: Ying Xue <[email protected]> Reviewed-by: Jon Maloy <[email protected]> Reviewed-by: Erik Hugne <[email protected]> Tested-by: Erik Hugne <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions