[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172408262901.574380.11397321828378391687.git-patchwork-notify@kernel.org>
Date: Mon, 19 Aug 2024 15:50:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Florian Westphal <fw@...len.de>
Cc: netdev@...r.kernel.org, pabeni@...hat.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, kuniyu@...zon.com,
kerneljasonxing@...il.com,
syzbot+8ea26396ff85d23a8929@...kaller.appspotmail.com
Subject: Re: [PATCH net] tcp: prevent concurrent execution of tcp_sk_exit_batch
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 13 Aug 2024 00:28:25 +0200 you wrote:
> Its possible that two threads call tcp_sk_exit_batch() concurrently,
> once from the cleanup_net workqueue, once from a task that failed to clone
> a new netns. In the latter case, error unwinding calls the exit handlers
> in reverse order for the 'failed' netns.
>
> tcp_sk_exit_batch() calls tcp_twsk_purge().
> Problem is that since commit b099ce2602d8 ("net: Batch inet_twsk_purge"),
> this function picks up twsk in any dying netns, not just the one passed
> in via exit_batch list.
>
> [...]
Here is the summary with links:
- [net] tcp: prevent concurrent execution of tcp_sk_exit_batch
https://git.kernel.org/netdev/net/c/565d121b6998
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