diff options
author | GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com> | 2018-06-29 13:23:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 21:05:23 +0900 |
commit | 6a939f365bdb03a74b4617bdb4402fc08da088b9 (patch) | |
tree | aa22caa509706d637c8d2f84304f86f9aa4c1c56 /net/dsa | |
parent | e397286b8e89bf38f4f56c0dcf6626e79dc2a323 (diff) | |
download | linux-6a939f365bdb03a74b4617bdb4402fc08da088b9.tar.gz linux-6a939f365bdb03a74b4617bdb4402fc08da088b9.tar.bz2 linux-6a939f365bdb03a74b4617bdb4402fc08da088b9.zip |
tipc: Auto removal of peer down node instance
A peer node is considered down if there are no
active links (or) lost contact to the node. In current implementation,
a peer node instance is deleted either if
a) TIPC module is removed (or)
b) Application can use a netlink/iproute2 interface to delete a
specific down node.
Thus, a down node instance lives in the system forever, unless the
application explicitly removes it.
We fix this by deleting the nodes which are down for
a specified amount of time (5 minutes).
Existing node supervision timer is used to achieve this.
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions