aboutsummaryrefslogtreecommitdiff
path: root/net/sched/em_u32.c
diff options
context:
space:
mode:
authorVictor Nogueira2023-07-13 15:05:13 -0300
committerGreg Kroah-Hartman2023-07-27 08:50:41 +0200
commit155f59453414ffe4063dd581f048b3c55c431554 (patch)
treec562ffe9da49a1c6edfc64dfe26f47c8400c81a0 /net/sched/em_u32.c
parent2256b27f542bd245b1692fc026ebefe061cc6335 (diff)
net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
[ Upstream commit 26a22194927e8521e304ed75c2f38d8068d55fc7 ] If cls_bpf_offload errors out, we must also undo tcf_bind_filter that was done before the error. Fix that by calling tcf_unbind_filter in errout_parms. Fixes: eadb41489fd2 ("net: cls_bpf: add support for marking filters as hardware-only") 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/sched/em_u32.c')
0 files changed, 0 insertions, 0 deletions