diff options
| author | 2016-11-28 19:25:01 +0100 | |
|---|---|---|
| committer | 2016-11-29 23:17:02 -0500 | |
| commit | b9755f03728b21c36375a47a6c6366e00b4f2062 (patch) | |
| tree | 97d9a9ac10ab9ff2603776e568a8c955146d0481 /net/unix/sysctl_net_unix.c | |
| parent | net: ethernet: fec: fix fixed-link phydev leaks (diff) | |
| download | wireguard-linux-b9755f03728b21c36375a47a6c6366e00b4f2062.tar.xz wireguard-linux-b9755f03728b21c36375a47a6c6366e00b4f2062.zip | |
net: ethernet: fs_enet: fix fixed-link phydev leaks
Make sure to deregister and free any fixed-link PHY registered using
of_phy_register_fixed_link() on probe errors and on driver unbind.
Fixes: bb74d9a4a87b ("fs_enet: use the new fixed PHY helpers")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
