lkml.org 
[lkml]   [2022]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net v5] net/smc: Reset conn->lgr when link group registration fails
From
Date
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.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2022-01-06 15:01    [W:0.034 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site