aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2023-06-12 09:34:26 +0000
committerJakub Kicinski <[email protected]>2023-06-15 06:03:16 +0000
commitc9a82bec02c339cdda99b37c5e62b3b71fc4209c (patch)
tree8e4ba3b2f1cc67a3d71520cb605e01aa84fe6648 /drivers/gpu/drm/amd/amdgpu
parentice: Fix ice module unload (diff)
downloadkernel-c9a82bec02c339cdda99b37c5e62b3b71fc4209c.tar.gz
kernel-c9a82bec02c339cdda99b37c5e62b3b71fc4209c.zip
net/sched: cls_api: Fix lockup on flushing explicitly created chain
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 <[email protected]> Closes: https://lore.kernel.org/lkml/[email protected]/T/ Signed-off-by: Vlad Buslov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions