]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Merge branch 'more-phydev-leaks'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 01:01:16 +0000 (20:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 01:01:16 +0000 (20:01 -0500)
commita1cad5ee80ddaa833dd0d31c0612306532fbe53a
tree0c8c0a6f7970c96c4827a06f9c0d0e19b9e62e48
parentc9bd28233b6d0d82ac3ba0215723be0a8262c39c
parent6ffe1c4cd0a77f51d8d2985aa721d636b03ddf58
Merge branch 'more-phydev-leaks'

Johan Hovold says:

====================
net: fix phydev reference leaks

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>