linux-stable/net/hsr
Aaron Kramer 5150b45fd3 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 <a-kramer@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-06 18:32:21 -07:00
..
hsr_device.c net: hsr: add debugfs support for display node list 2019-04-06 18:32:21 -07:00
hsr_device.h net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_forward.c net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_forward.h net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_framereg.c net: hsr: Fix node prune function for forget time expiry 2019-04-06 18:32:21 -07:00
hsr_framereg.h net: hsr: add debugfs support for display node list 2019-04-06 18:32:21 -07:00
hsr_main.c net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_main.h net: hsr: add debugfs support for display node list 2019-04-06 18:32:21 -07:00
hsr_netlink.c net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_netlink.h net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_prp_debugfs.c net: hsr: add debugfs support for display node list 2019-04-06 18:32:21 -07:00
hsr_slave.c net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_slave.h net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
Kconfig net/hsr: Added support for HSR v1 2016-04-15 17:06:48 -04:00
Makefile net: hsr: add debugfs support for display node list 2019-04-06 18:32:21 -07:00