[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZK/BSeUzjPhhQz2T@corigine.com>
Date: Thu, 13 Jul 2023 10:18:01 +0100
From: Simon Horman <simon.horman@...igine.com>
To: Victor Nogueira <victor@...atatu.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, pctammela@...atatu.com,
kernel@...atatu.com
Subject: Re: [PATCH net-next v4 4/5] net: sched: cls_bpf: Undo
tcf_bind_filter in case of an error
On Wed, Jul 12, 2023 at 06:13:12PM -0300, Victor Nogueira wrote:
> 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@...atatu.com>
> Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
> Reviewed-by: Pedro Tammela <pctammela@...atatu.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists