summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-05-20 16:01:32 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-23 18:00:07 +0300
commitf93e1cdcf42c1218e2a73be477d8ac21135e7f56 (patch)
tree5ad589f300e3c2e2f7d053b0d15f5c1ee4157178 /drivers
parent31efcc250a1dea96edca6595a9639d898cf99ae5 (diff)
downloadlinux-f93e1cdcf42c1218e2a73be477d8ac21135e7f56.tar.xz
net/sched: fix filter flushing
When user instructs to remove all filters from chain, we cannot destroy the chain as other actions may hold a reference. Also the put in errout would try to destroy it again. So instead, just walk the chain and remove all existing filters. Fixes: 5bc1701881e3 ("net: sched: introduce multichain support for filters") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions