[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166912081469.24681.569005712136215618.git-patchwork-notify@kernel.org>
Date: Tue, 22 Nov 2022 12:40:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: netdev@...r.kernel.org, aelior@...vell.com, skalluru@...vell.com,
manishc@...vell.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net v2] bnx2x: fix pci device refcount leak in
bnx2x_vf_is_pcie_pending()
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Sat, 19 Nov 2022 15:02:02 +0800 you wrote:
> As comment of pci_get_domain_bus_and_slot() says, it returns
> a pci device with refcount increment, when finish using it,
> the caller must decrement the reference count by calling
> pci_dev_put(). Call pci_dev_put() before returning from
> bnx2x_vf_is_pcie_pending() to avoid refcount leak.
>
> Fixes: b56e9670ffa4 ("bnx2x: Prepare device and initialize VF database")
> Suggested-by: Jakub Kicinski <kuba@...nel.org>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
>
> [...]
Here is the summary with links:
- [net,v2] bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
https://git.kernel.org/netdev/net/c/3637a29ccbb6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists