]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: Destroy fixed link phys after the phy has been disconnected
authorAndrew Lunn <andrew@lunn.ch>
Fri, 11 Mar 2016 23:01:38 +0000 (00:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:43:11 +0000 (15:43 -0400)
commit330eaac90ebea835b838083eb4f2cfb32d650acd
treedbc89ddc9ca5785600340f1b952f859cbcb694e3
parent240e97be91966c97a0586773202188b0d504ab70
dsa: Destroy fixed link phys after the phy has been disconnected

The phy is disconnected from the slave in dsa_slave_destroy(). Don't
destroy fixed link phys until after this, since there can be fixed
linked phys connected to ports.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c