[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200615.134223.983361696577901385.davem@davemloft.net>
Date: Mon, 15 Jun 2020 13:42:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: navid.emamdoost@...il.com
Cc: nicolas.ferre@...rochip.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, emamd001@....edu, wu000273@....edu,
kjlu@....edu, smccaman@....edu
Subject: Re: [PATCH] net: macb: fix ref count leaking via
pm_runtime_get_sync
From: Navid Emamdoost <navid.emamdoost@...il.com>
Date: Sun, 14 Jun 2020 00:48:03 -0500
> in macb_mdio_write, macb_mdio_read, and at91ether_open,
> pm_runtime_get_sync is called which increments the counter even in case of
> failure, leading to incorrect ref count.
> In case of failure, decrement the ref count before returning.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@...il.com>
This does not apply to the net tree.
Powered by blists - more mailing lists