aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDavide Caratti <[email protected]>2020-12-16 18:33:29 +0000
committerJakub Kicinski <[email protected]>2020-12-17 18:57:57 +0000
commit44d4775ca51805b376a8db5b34f650434a08e556 (patch)
tree36c649188f6e2d3945fce7398242af258c47db0e /net/switchdev/switchdev.c
parentnfp: move indirect block cleanup to flower app stop callback (diff)
downloadkernel-44d4775ca51805b376a8db5b34f650434a08e556.tar.gz
kernel-44d4775ca51805b376a8db5b34f650434a08e556.zip
net/sched: sch_taprio: reset child qdiscs before freeing them
syzkaller shows that packets can still be dequeued while taprio_destroy() is running. Let sch_taprio use the reset() function to cancel the advance timer and drop all skbs from the child qdiscs. Fixes: 5a781ccbd19e ("tc: Add support for configuring the taprio scheduler") Link: https://syzkaller.appspot.com/bug?id=f362872379bf8f0017fb667c1ab158f2d1e764ae Reported-by: [email protected] Signed-off-by: Davide Caratti <[email protected]> Acked-by: Vinicius Costa Gomes <[email protected]> Link: https://lore.kernel.org/r/63b6d79b0e830ebb0283e020db4df3cdfdfb2b94.1608142843.git.dcaratti@redhat.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions