[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166882981839.27279.2756154167237549945.git-patchwork-notify@kernel.org>
Date: Sat, 19 Nov 2022 03:50:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, tshimizu818@...il.com
Subject: Re: [PATCH net] net: pch_gbe: fix pci device refcount leak while module
exiting
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 17 Nov 2022 21:51:48 +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().
>
> In pch_gbe_probe(), pci_get_domain_bus_and_slot() is called,
> so in error path in probe() and remove() function, pci_dev_put()
> should be called to avoid refcount leak. Compile tested only.
>
> [...]
Here is the summary with links:
- [net] net: pch_gbe: fix pci device refcount leak while module exiting
https://git.kernel.org/netdev/net/c/5619537284f1
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