net_sched: allow flushing tc police actions
authorRoman Mashak <mrv@mojatatu.com>
Sun, 14 Aug 2016 05:35:02 +0000 (22:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2016 23:27:51 +0000 (19:27 -0400)
commitb5ac851885accffe0485aea2805df8f2d49c95a8
tree4caaedaeea88314553924cc20110e650eb5afe16
parent0852e455238f8550fa92b1e40355eb2c6805787e
net_sched: allow flushing tc police actions

The act_police uses its own code to walk the
action hashtable, which leads to that we could
not flush standalone tc police actions, so just
switch to tcf_generic_walker() like other actions.

(Joint work from Roman and Cong.)

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_police.c