Re: [PATCH net v2] net/smc: Fix hung_task when removing SMC-R devices

From: patchwork-bot+netdevbpf
Date: Sun Jan 16 2022 - 07:40:26 EST


Hello:

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

On Sun, 16 Jan 2022 15:43:42 +0800 you wrote:
> A hung_task is observed when removing SMC-R devices. Suppose that
> a link group has two active links(lnk_A, lnk_B) associated with two
> different SMC-R devices(dev_A, dev_B). When dev_A is removed, the
> link group will be removed from smc_lgr_list and added into
> lgr_linkdown_list. lnk_A will be cleared and smcibdev(A)->lnk_cnt
> will reach to zero. However, when dev_B is removed then, the link
> group can't be found in smc_lgr_list and lnk_B won't be cleared,
> making smcibdev->lnk_cnt never reaches zero, which causes a hung_task.
>
> [...]

Here is the summary with links:
- [net,v2] net/smc: Fix hung_task when removing SMC-R devices
https://git.kernel.org/netdev/net/c/56d99e81ecbc

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