Re: [PATCH net] net/sched: sch_taprio: reset child qdiscs before freeing them
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-12-17 19:05:05
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-12-17 19:05:05
On Wed, 16 Dec 2020 11:01:54 -0800 Vinicius Costa Gomes wrote:
Davide Caratti [off-list ref] writes:quoted
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: syzbot+8971da381fb5a31f542d@syzkaller.appspotmail.com Signed-off-by: Davide Caratti <redacted>Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Applied thanks.