diff options
author | Nathan Sullivan <nathan.sullivan@ni.com> | 2016-10-07 17:13:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-08 05:55:59 +0200 |
commit | fa6114d4bde70152765ba1c35fed4fcd8481faf6 (patch) | |
tree | 4ff4790b98de09d7a43ecaf26a00d64464b1c0d0 /REPORTING-BUGS | |
parent | xen-netback: make sure that hashes are not send to unaware frontends (diff) | |
download | linux-fa6114d4bde70152765ba1c35fed4fcd8481faf6.tar.xz linux-fa6114d4bde70152765ba1c35fed4fcd8481faf6.zip |
net: macb: NULL out phydev after removing mdio bus
To ensure the dev->phydev pointer is not used after becoming invalid in
mdiobus_unregister, set it to NULL. This happens when removing the macb
driver without first taking its interface down, since unregister_netdev
will end up calling macb_close.
Signed-off-by: Xander Huff <xander.huff@ni.com>
Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Signed-off-by: Brad Mouring <brad.mouring@ni.com>
Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions