diff options
author | Robert Hancock <[email protected]> | 2019-06-06 16:28:10 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-06-06 16:24:29 -0700 |
commit | e7a3d116fa6fd1b898f6d7421a07f01fa38394b9 (patch) | |
tree | 25fbdcca741bccfd5279c50ae9df13f81da0981f /net/unix/af_unix.c | |
parent | 09a0354cadec267be7f5249c89eb998b3474263a (diff) |
net: axienet: fix teardown order of MDIO bus
Since the MDIO is is brought up before the netdev is registered, it
should be torn down after the netdev is removed. Otherwise, PHY accesses
can potentially access freed MDIO bus references and cause a crash.
Signed-off-by: Robert Hancock <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions