Revision c9a82bec02c339cdda99b37c5e62b3b71fc4209c authored by Vlad Buslov on 12 June 2023, 09:34:26 UTC, committed by Jakub Kicinski on 15 June 2023, 06:03:16 UTC
Mingshuai Ren reports: When a new chain is added by using tc, one soft lockup alarm will be generated after delete the prio 0 filter of the chain. To reproduce the problem, perform the following steps: (1) tc qdisc add dev eth0 root handle 1: htb default 1 (2) tc chain add dev eth0 (3) tc filter del dev eth0 chain 0 parent 1: prio 0 (4) tc filter add dev eth0 chain 0 parent 1: Fix the issue by accounting for additional reference to chains that are explicitly created by RTM_NEWCHAIN message as opposed to implicitly by RTM_NEWTFILTER message. Fixes: 726d061286ce ("net: sched: prevent insertion of new classifiers during chain flush") Reported-by: Mingshuai Ren <renmingshuai@huawei.com> Closes: https://lore.kernel.org/lkml/87legswvi3.fsf@nvidia.com/T/ Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Link: https://lore.kernel.org/r/20230612093426.2867183-1-vladbu@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 24b454b
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.8 KB |
Makefile | -rw-r--r-- | 823 bytes |
README | -rw-r--r-- | 956 bytes |
TODO | -rw-r--r-- | 96 bytes |
bcma_private.h | -rw-r--r-- | 6.2 KB |
core.c | -rw-r--r-- | 3.6 KB |
driver_chipcommon.c | -rw-r--r-- | 10.3 KB |
driver_chipcommon_b.c | -rw-r--r-- | 1.4 KB |
driver_chipcommon_nflash.c | -rw-r--r-- | 1.7 KB |
driver_chipcommon_pflash.c | -rw-r--r-- | 1.1 KB |
driver_chipcommon_pmu.c | -rw-r--r-- | 19.4 KB |
driver_chipcommon_sflash.c | -rw-r--r-- | 4.2 KB |
driver_gmac_cmn.c | -rw-r--r-- | 265 bytes |
driver_gpio.c | -rw-r--r-- | 5.7 KB |
driver_mips.c | -rw-r--r-- | 9.3 KB |
driver_pci.c | -rw-r--r-- | 8.2 KB |
driver_pci_host.c | -rw-r--r-- | 17.4 KB |
driver_pcie2.c | -rw-r--r-- | 5.6 KB |
host_pci.c | -rw-r--r-- | 9.7 KB |
host_soc.c | -rw-r--r-- | 5.5 KB |
main.c | -rw-r--r-- | 16.1 KB |
scan.c | -rw-r--r-- | 13.8 KB |
scan.h | -rw-r--r-- | 1.7 KB |
sprom.c | -rw-r--r-- | 20.9 KB |
Computing file changes ...