net_sched: switch to exit_batch for action pernet ops
authorCong Wang <xiyou.wangcong@gmail.com>
Mon, 11 Dec 2017 23:35:03 +0000 (15:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 18:58:41 +0000 (13:58 -0500)
commit039af9c66b93154b493e3088a36b251b99c9b3c4
tree231859a76810708e956e404c882e324e7afa0961
parentcdc0974f10cf02dde411ee96dbce54594249da4e
net_sched: switch to exit_batch for action pernet ops

Since we now hold RTNL lock in tc_action_net_exit(), it is good to
batch them to speedup tc action dismantle.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
include/net/act_api.h
net/sched/act_bpf.c
net/sched/act_connmark.c
net/sched/act_csum.c
net/sched/act_gact.c
net/sched/act_ife.c
net/sched/act_ipt.c
net/sched/act_mirred.c
net/sched/act_nat.c
net/sched/act_pedit.c
net/sched/act_police.c
net/sched/act_sample.c
net/sched/act_simple.c
net/sched/act_skbedit.c
net/sched/act_skbmod.c
net/sched/act_tunnel_key.c
net/sched/act_vlan.c