[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172069382888.18320.4145482834911828098.git-patchwork-notify@kernel.org>
Date: Thu, 11 Jul 2024 10:30:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Daniel Borkmann <daniel@...earbox.net>
Cc: kuba@...nel.org, netdev@...r.kernel.org, linux-nfs@...r.kernel.org,
usiegl00@...il.com, neilb@...e.de, trondmy@...nel.org, anna@...nel.org
Subject: Re: [PATCH net v3 resend] net,
sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Thu, 4 Jul 2024 08:41:57 +0200 you wrote:
> When using a BPF program on kernel_connect(), the call can return -EPERM. This
> causes xs_tcp_setup_socket() to loop forever, filling up the syslog and causing
> the kernel to potentially freeze up.
>
> Neil suggested:
>
> This will propagate -EPERM up into other layers which might not be ready
> to handle it. It might be safer to map EPERM to an error we would be more
> likely to expect from the network system - such as ECONNREFUSED or ENETDOWN.
>
> [...]
Here is the summary with links:
- [net,v3,resend] net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
https://git.kernel.org/netdev/net/c/626dfed5fa3b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists