aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.h
diff options
context:
space:
mode:
authorJon Paul Maloy <[email protected]>2015-07-30 22:24:23 +0000
committerDavid S. Miller <[email protected]>2015-07-31 00:25:14 +0000
commit598411d70f85dcf5b5c6c2369cc48637c251b656 (patch)
tree488847de32b5fa2edb9ed7dea046e5b10d7ecea3 /net/tipc/node.h
parenttipc: move received discovery data evaluation inside node.c (diff)
downloadkernel-598411d70f85dcf5b5c6c2369cc48637c251b656.tar.gz
kernel-598411d70f85dcf5b5c6c2369cc48637c251b656.zip
tipc: make resetting of links non-atomic
In order to facilitate future improvements to the locking structure, we want to make resetting and establishing of links non-atomic. I.e., the functions tipc_node_link_up() and tipc_node_link_down() should be called from outside the node lock context, and grab/release the node lock themselves. This requires that we can freeze the link state from the moment it is set to RESETTING or PEER_RESET in one lock context until it is set to RESET or ESTABLISHING in a later context. The recently introduced link FSM makes this possible, so we are now ready to introduce the above change. This commit implements this. Tested-by: Ying Xue <[email protected]> Signed-off-by: Jon Maloy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.h')
0 files changed, 0 insertions, 0 deletions