[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bkcw9iso.fsf@cloudflare.com>
Date: Wed, 18 Oct 2023 15:11:31 +0200
From: Jakub Sitnicki <jakub@...udflare.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, John Fastabend <john.fastabend@...il.com>, Eric
Dumazet <edumazet@...gle.com>, "David S. Miller" <davem@...emloft.net>,
David Ahern <dsahern@...nel.org>, Jakub Kicinski <kuba@...nel.org>,
bpf@...r.kernel.org
Subject: Re: [PATCH net] tcp_bpf: properly release resources on error paths
On Tue, Oct 17, 2023 at 05:49 PM +02, Paolo Abeni wrote:
> In the blamed commit below, I completely forgot to release the acquired
> resources before erroring out in the TCP BPF code, as reported by Dan.
>
> Address the issues by replacing the bogus return with a jump to the
> relevant cleanup code.
>
> Fixes: 419ce133ab92 ("tcp: allow again tcp_disconnect() when threads are waiting")
> Reported-by: Dan Carpenter <dan.carpenter@...aro.org>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
Acked-by: Jakub Sitnicki <jakub@...udflare.com>
Powered by blists - more mailing lists