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

patchwork-bot+netdevbpf
2022-05-23T09:10:37Z

Hello:

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

On Mon, 23 May 2022 12:57:07 +0800 you wrote:
> From: liuyacan <liuyacan@corp.netease.com>
>
> 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.