Re: [PATCH net v2] net/smc: fix neighbour and rtable leak in smc_ib_find_route()
From: patchwork-bot+netdevbpf
Date: Thu May 09 2024 - 04:20:39 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Tue, 7 May 2024 20:53:31 +0800 you wrote:
> In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable
> resolved by ip_route_output_flow() are not released or put before return.
> It may cause the refcount leak, so fix it.
>
> Link: https://lore.kernel.org/r/20240506015439.108739-1-guwen@xxxxxxxxxxxxxxxxx
> Fixes: e5c4744cfb59 ("net/smc: add SMC-Rv2 connection establishment")
> Signed-off-by: Wen Gu <guwen@xxxxxxxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net,v2] net/smc: fix neighbour and rtable leak in smc_ib_find_route()
https://git.kernel.org/netdev/net/c/2ddc0dd7fec8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html