summaryrefslogtreecommitdiff
path: root/net/sched/cls_u32.c
diff options
context:
space:
mode:
authorVictor Nogueira <victor@mojatatu.com>2023-07-13 15:05:10 -0300
committerDavid S. Miller <davem@davemloft.net>2023-07-17 07:33:38 +0100
commitb3d0e0489430735e2e7626aa37e6462cdd136e9d (patch)
tree0c03a8cc52429fa29a7777b2a6ae6750ddcbfe11 /net/sched/cls_u32.c
parent0dd1805fe498e0cf64f68e451a8baff7e64494ec (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 <victor@mojatatu.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by: Pedro Tammela <pctammela@mojatatu.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_u32.c')
0 files changed, 0 insertions, 0 deletions