diff options
| author | Jon Paul Maloy <[email protected]> | 2015-05-14 14:46:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-14 16:24:45 +0000 |
| commit | b1c29f6b10d5981c89d3ea9b9991ca97141ed6d0 (patch) | |
| tree | e0ad8668ed30f2d253423beba2c614baab2ec781 /net/tipc/node.c | |
| parent | Merge branch 'be2net-next' (diff) | |
| download | kernel-b1c29f6b10d5981c89d3ea9b9991ca97141ed6d0.tar.gz kernel-b1c29f6b10d5981c89d3ea9b9991ca97141ed6d0.zip | |
tipc: simplify resetting and disabling of bearers
Since commit 4b475e3f2f8e4e241de101c8240f1d74d0470494
("tipc: eliminate delayed link deletion at link failover") the extra
boolean parameter "shutting_down" is not any longer needed for the
functions bearer_disable() and tipc_link_delete_list().
Furhermore, the function tipc_link_reset_links(), called from
bearer_reset() is now unnecessary. We can just as well delete
all the links, as we do in bearer_disable(), and start over with
creating new links.
This commit introduces those changes.
Reviewed-by: Erik Hugne <[email protected]>
Reviewed-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.c')
0 files changed, 0 insertions, 0 deletions
