aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2017-05-20 15:01:32 +0200
committerDavid S. Miller <[email protected]>2017-05-23 11:00:07 -0400
commitf93e1cdcf42c1218e2a73be477d8ac21135e7f56 (patch)
tree5ad589f300e3c2e2f7d053b0d15f5c1ee4157178 /lib/test-string_helpers.c
parent31efcc250a1dea96edca6595a9639d898cf99ae5 (diff)
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 <[email protected]> Acked-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions