[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176057520625.1111692.18071564994043587746.git-patchwork-notify@kernel.org>
Date: Thu, 16 Oct 2025 00:40:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org, eric.dumazet@...il.com, luoxuanqiang@...inos.cn,
kuniyu@...gle.com
Subject: Re: [PATCH net-next] net: remove obsolete
WARN_ON(refcount_read(&sk->sk_refcnt)
== 1)
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 14 Oct 2025 14:06:05 +0000 you wrote:
> sk->sk_refcnt has been converted to refcount_t in 2017.
>
> __sock_put(sk) being refcount_dec(&sk->sk_refcnt), it will complain
> loudly if the current refcnt is 1 (or less) in a non racy way.
>
> We can remove four WARN_ON() in favor of the generic refcount_dec()
> check.
>
> [...]
Here is the summary with links:
- [net-next] net: remove obsolete WARN_ON(refcount_read(&sk->sk_refcnt) == 1)
https://git.kernel.org/netdev/net-next/c/e5b670e5439b
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