Bug#921542: [Patch net 1/3] net_sched: fix a race condition in tcindex_destroy()

2019-02-10 Thread Cong Wang
with tc_action_net_exit(). Fixes: 27ce4f05e2ab ("net_sched: use tcf_queue_work() in tcindex filter") Reported-by: Adrian Cc: Ben Hutchings Cc: Jamal Hadi Salim Cc: Jiri Pirko Signed-off-by: Cong Wang --- net/sched/cls_tcindex.c | 46 - 1 file changed, 36

Bug#921542: tc qdisc kernel crash

2019-02-10 Thread Cong Wang
On Sun, Feb 10, 2019 at 7:54 AM Ben Hutchings wrote: > > Control: tag -1 confirmed upstream > Control: found -1 4.20-1~exp1 > > Adrian (cc'd) reported (https://bugs.debian.org/921542) that a script > using tc could trigger a kernel crash. I've simplified the script he > provided down to: > > ---