diff options
author | Victor Nogueira <[email protected]> | 2023-07-13 15:05:10 -0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-07-17 07:33:38 +0100 |
commit | b3d0e0489430735e2e7626aa37e6462cdd136e9d (patch) | |
tree | 0c03a8cc52429fa29a7777b2a6ae6750ddcbfe11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0dd1805fe498e0cf64f68e451a8baff7e64494ec (diff) |
net: sched: cls_matchall: Undo tcf_bind_filter in case of failure after mall_set_parms
In case an error occurred after mall_set_parms executed successfully, we
must undo the tcf_bind_filter call it issues.
Fix that by calling tcf_unbind_filter in err_replace_hw_filter label.
Fixes: ec2507d2a306 ("net/sched: cls_matchall: Fix error path")
Signed-off-by: Victor Nogueira <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Reviewed-by: Pedro Tammela <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions