[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221121204703.021b31bd@kernel.org>
Date: Mon, 21 Nov 2022 20:47:03 -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>,
<edumazet@...gle.com>, <pabeni@...hat.com>
Subject: Re: [PATCH net resend] ixgbe: fix pci device refcount leak
On Sat, 19 Nov 2022 14:41:55 +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.
>
> Fixes: 8fa10ef01260 ("ixgbe: register a mdiobus")
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
> ---
> Cc all pepole in the maintainer list.
still missing the intel-wired-lan list
Powered by blists - more mailing lists