net_sched: add rtnl assertion to tcf_exts_destroy()
authorCong Wang <xiyou.wangcong@gmail.com>
Fri, 27 Oct 2017 01:24:40 +0000 (18:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 13:49:31 +0000 (22:49 +0900)
commit2d132eba1d972ea6c0e47286e4c821b4a3c5b84d
tree04c08401ad73a945a1ac5b6c1ab9d5768bd24141
parent27ce4f05e2abbe2d3ec7434e456619a5178cd3bd
net_sched: add rtnl assertion to tcf_exts_destroy()

After previous patches, it is now safe to claim that
tcf_exts_destroy() is always called with RTNL lock.

Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c