net_sched: use tcf_queue_work() in u32 filter
authorCong Wang <[email protected]>
Fri, 27 Oct 2017 01:24:36 +0000 (18:24 -0700)
committerDavid S. Miller <[email protected]>
Sun, 29 Oct 2017 13:49:31 +0000 (22:49 +0900)
commitc0d378ef1266546a39f2df00a56ff1f74166a2b7
tree558829cc9645b2ae96f9943de2a6c4bb633865ee
parentdf2735ee8e6ca202a8630f237b59401a25193be1
net_sched: use tcf_queue_work() in u32 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_u32.c