Thread (3 messages) 3 messages, 3 authors, 2021-12-02

Re: [PATCH net v3] net/smc: fix wrong list_del in smc_lgr_cleanup_early

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-02 12:20:36
Also in: linux-s390

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Wed,  1 Dec 2021 11:02:30 +0800 you wrote:
smc_lgr_cleanup_early() meant to delete the link
group from the link group list, but it deleted
the list head by mistake.

This may cause memory corruption since we didn't
remove the real link group from the list and later
memseted the link group structure.
We got a list corruption panic when testing:

[...]
Here is the summary with links:
  - [net,v3] net/smc: fix wrong list_del in smc_lgr_cleanup_early
    https://git.kernel.org/netdev/net/c/789b6cc2a5f9

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help