Re: [PATCH net v5] net/smc: Reset conn->lgr when link group registration fails

patchwork-bot+netdevbpf
2022-01-06T14:00:28Z

Hello:

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

On Thu, 6 Jan 2022 20:42:08 +0800 you wrote:
> SMC connections might fail to be registered in a link group due to
> unable to find a usable link during its creation. As a result,
> smc_conn_create() will return a failure and most resources related
> to the connection won't be applied or initialized, such as
> conn->abort_work or conn->lnk.
>
> If smc_conn_free() is invoked later, it will try to access the
> uninitialized resources related to the connection, thus causing
> a warning or crash.
>
> [...]

Here is the summary with links:
- [net,v5] net/smc: Reset conn->lgr when link group registration fails
https://git.kernel.org/netdev/net/c/36595d8ad46d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.