Re: [PATCH net] net/smc: fix listen processing for SMC-Rv2

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


Hello:

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

On Mon, 23 May 2022 13:50:56 +0800 you wrote:
> From: liuyacan <liuyacan@xxxxxxxxxxxxxxxx>
>
> In the process of checking whether RDMAv2 is available, the current
> implementation first sets ini->smcrv2.ib_dev_v2, and then allocates
> smc buf desc, but the latter may fail. Unfortunately, the caller
> will only check the former. In this case, a NULL pointer reference
> will occur in smc_clc_send_confirm_accept() when accessing
> conn->rmb_desc.
>
> [...]

Here is the summary with links:
- [net] net/smc: fix listen processing for SMC-Rv2
https://git.kernel.org/netdev/net/c/8c3b8dc5cc9b

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