net_sched: use tcf_queue_work() in cgroup filter
authorCong Wang <[email protected]>
Fri, 27 Oct 2017 01:24:31 +0000 (18:24 -0700)
committerDavid S. Miller <[email protected]>
Sun, 29 Oct 2017 13:49:30 +0000 (22:49 +0900)
commitb1b5b04fdb6da262aef37ef83b9f2e41326720ef
tree572b1bae9f6e87f857ad8bd7066f5ccb07621c52
parente910af676b565ecc16bcd6c896ecb68157396ecc
net_sched: use tcf_queue_work() in cgroup filter

Defer the tcf_exts_destroy() in RCU callback to
tc filter workqueue and get RTNL lock.

Reported-by: Chris Mi <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Jiri Pirko <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/cls_cgroup.c