Re: [PATCH v2] vsock: remove vsock from connected table when connect is interrupted by a signal
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-17 17:20:17
Also in:
lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-17 17:20:17
Also in:
lkml
Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski [off-list ref]: On Thu, 17 Feb 2022 08:13:12 -0600 you wrote:
vsock_connect() expects that the socket could already be in the TCP_ESTABLISHED state when the connecting task wakes up with a signal pending. If this happens the socket will be in the connected table, and it is not removed when the socket state is reset. In this situation it's common for the process to retry connect(), and if the connection is successful the socket will be added to the connected table a second time, corrupting the list. [...]
Here is the summary with links:
- [v2] vsock: remove vsock from connected table when connect is interrupted by a signal
https://git.kernel.org/netdev/net/c/b9208492fcae
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html