aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorAaron Kramer <[email protected]>2019-04-05 17:31:36 +0000
committerDavid S. Miller <[email protected]>2019-04-07 01:32:21 +0000
commit5150b45fd3553bf86b4a3d58d17146877480c0cc (patch)
treef2e82ea2a3c31e7ecef2fea11b0cdb46861b14f6 /net/unix
parentnet: hsr: add debugfs support for display node list (diff)
downloadkernel-5150b45fd3553bf86b4a3d58d17146877480c0cc.tar.gz
kernel-5150b45fd3553bf86b4a3d58d17146877480c0cc.zip
net: hsr: Fix node prune function for forget time expiry
HSR should forget nodes after configured node forget time expiry based on HSR_NODE_FORGET_TIME. As part of hsr_prune_nodes(), code checks to see if entries are to be flushed out if not heard for longer than forget time. But currently hsr_prune_nodes() is called only once during device creation. Restart the timer at the end of hsr_prune_nodes() so that hsr_prune_nodes() gets called periodically and forgotten entries are removed from node table. Signed-off-by: Aaron Kramer <[email protected]> Signed-off-by: Murali Karicheri <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions