Re: [PATCH net v2 0/5] net: fix phydev reference leaks

From: David Miller
Date: Sun Nov 27 2016 - 20:03:14 EST


From: Johan Hovold <johan@xxxxxxxxxx>
Date: Thu, 24 Nov 2016 19:21:26 +0100

> This series fixes a number of phydev reference leaks (and one of_node
> leak) due to failure to put the reference taken by of_phy_find_device().
>
> Note that I did not try to fix drivers/net/phy/xilinx_gmii2rgmii.c which
> still leaks a reference.
>
> Against net but should apply just as fine to net-next.
...
> v2:
> - use put_device() instead of phy_dev_free() to put the references
> taken in net/dsa (patch 1/4).
> - add four new patches fixing similar leaks

Series applied, thanks.