linux/net/hsr
Andreas Oetken d2daa127ed hsr: fix don't prune the master node from the node_db
Don't prune the master node in the hsr_prune_nodes function.
Neither time_in[HSR_PT_SLAVE_A] nor time_in[HSR_PT_SLAVE_B]
will ever be updated by hsr_register_frame_in for the master port.
Thus, the master node will be repeatedly pruned leading to
repeated packet loss.
This bug never appeared because the hsr_prune_nodes function
was only called once. Since commit 5150b45fd3
("net: hsr: Fix node prune function for forget time expiry") this issue
is fixed unveiling the issue described above.

Fixes: 5150b45fd3 ("net: hsr: Fix node prune function for forget time expiry")
Signed-off-by: Andreas Oetken <andreas.oetken@siemens.com>
Tested-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-23 09:29:44 -07:00
..
hsr_debugfs.c net: hsr: fix debugfs path to support multiple interfaces 2019-04-15 17:22:02 -07:00
hsr_device.c net: hsr: fix debugfs path to support multiple interfaces 2019-04-15 17:22:02 -07:00
hsr_device.h net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_forward.c net: hsr: add tx stats for master interface 2019-04-15 17:22:02 -07:00
hsr_forward.h net: hsr: convert to SPDX identifier 2019-04-06 18:32:21 -07:00
hsr_framereg.c hsr: fix don't prune the master node from the node_db 2019-05-23 09:29:44 -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: fix debugfs path to support multiple interfaces 2019-04-15 17:22:02 -07:00
hsr_netlink.c genetlink: optionally validate strictly/dumps 2019-04-27 17:07:22 -04:00
hsr_netlink.h net: hsr: convert to SPDX identifier 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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00