Thread (4 messages) 4 messages, 4 authors, 2024-01-01

Re: [PATCH] net/tcp_sigpool: Use kref_get_unless_zero()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-01-01 14:50:24
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Fri, 22 Dec 2023 01:13:59 +0000 you wrote:
The freeing and re-allocation of algorithm are protected by cpool_mutex,
so it doesn't fix an actual use-after-free, but avoids a deserved
refcount_warn_saturate() warning.

A trivial fix for the racy behavior.

Fixes: 8c73b26315aa ("net/tcp: Prepare tcp_md5sig_pool for TCP-AO")
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Dmitry Safonov <redacted>

[...]
Here is the summary with links:
  - net/tcp_sigpool: Use kref_get_unless_zero()
    https://git.kernel.org/netdev/net/c/b901a4e27694

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help