[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221118185740.0eb4e5e3@kernel.org>
Date: Fri, 18 Nov 2022 18:57:40 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: <netdev@...r.kernel.org>, <jesse.brandeburg@...el.com>,
<anthony.l.nguyen@...el.com>, <davem@...emloft.net>
Subject: Re: [PATCH net] ixgbe: fix pci device refcount leak
On Fri, 18 Nov 2022 10:04:45 +0800 Yang Yingliang 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 ixgbe_get_first_secondary_devfn() and ixgbe_x550em_a_has_mii(),
> pci_dev_put() is called to avoid leak.
here as well the CC list is incomplete.
Powered by blists - more mailing lists