diff options
| author | Jon Paul Maloy <[email protected]> | 2015-07-30 22:24:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-31 00:25:13 +0000 |
| commit | 655fb243b8ae5e652f744311bcb6e806e83cea1e (patch) | |
| tree | 4f5656f4b9a6ad32dcca66e91a793246adb7ea4e /net/tipc/node.h | |
| parent | tipc: move all link_reset() calls to link aggregation level (diff) | |
| download | kernel-655fb243b8ae5e652f744311bcb6e806e83cea1e.tar.gz kernel-655fb243b8ae5e652f744311bcb6e806e83cea1e.zip | |
tipc: reverse call order for link_reset()->node_link_down()
In many cases the call order when a link is reset goes as follows:
tipc_node_xx()->tipc_link_reset()->tipc_node_link_down()
This is not the right order if we want the node to be in control,
so in this commit we change the order to:
tipc_node_xx()->tipc_node_link_down()->tipc_link_reset()
The fact that tipc_link_reset() now is called from only one
location with a well-defined state will also facilitate later
simplifications of tipc_link_reset() and the link FSM.
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
