diff options
author | 2023-07-13 15:05:13 -0300 | |
---|---|---|
committer | 2023-07-17 07:33:39 +0100 | |
commit | 26a22194927e8521e304ed75c2f38d8068d55fc7 (patch) | |
tree | b4027c9ee2e384b002635216a036b5779ccdf3eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sched: cls_u32: Undo refcount decrement in case update failed (diff) | |
download | wireguard-linux-26a22194927e8521e304ed75c2f38d8068d55fc7.tar.xz wireguard-linux-26a22194927e8521e304ed75c2f38d8068d55fc7.zip |
net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions