Re: [PATCH v2 net] net/smc: postpone sk_refcnt increment in connect()

From: patchwork-bot+netdevbpf
Date: Mon May 23 2022 - 05:10:50 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 23 May 2022 12:57:07 +0800 you wrote:
> From: liuyacan <liuyacan@xxxxxxxxxxxxxxxx>
>
> Same trigger condition as commit 86434744. When setsockopt runs
> in parallel to a connect(), and switch the socket into fallback
> mode. Then the sk_refcnt is incremented in smc_connect(), but
> its state stay in SMC_INIT (NOT SMC_ACTIVE). This cause the
> corresponding sk_refcnt decrement in __smc_release() will not be
> performed.
>
> [...]

Here is the summary with links:
- [v2,net] net/smc: postpone sk_refcnt increment in connect()
https://git.kernel.org/netdev/net/c/75c1edf23b95

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