Re: [PATCH net v2] tipc: read le->link under the node lock in tipc_node_link_down()
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178645683164.537263.7714780493708130841.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>: On Mon, 10 Aug 2026 18:21:38 +0800 you wrote: > From: Jun Yang <[email protected]> > > tipc_node_link_down() caches the link pointer before taking n->lock: > > struct tipc_link *l = le->link; /* unlocked */ > > if (!l) > return; > tipc_node_write_lock(n); > if (!tipc_link_is_establishing(l)) { /* deref l */ > ... > tipc_link_reset(l); /* write into l */ > if (delete) { > kfree(l); > le->link = NULL; > > [...] Here is the summary with links: - [net,v2] tipc: read le->link under the node lock in tipc_node_link_down() https://git.kernel.org/netdev/net/c/cba9ccb47e9f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html