diff options
author | Nathan Sullivan <[email protected]> | 2016-10-07 10:13:22 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-07 23:55:59 -0400 |
commit | fa6114d4bde70152765ba1c35fed4fcd8481faf6 (patch) | |
tree | 4ff4790b98de09d7a43ecaf26a00d64464b1c0d0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 912e27e85e070596ed4964ebde29fa9781390f2a (diff) |
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 <[email protected]>
Signed-off-by: Nathan Sullivan <[email protected]>
Signed-off-by: Brad Mouring <[email protected]>
Reviewed-by: Moritz Fischer <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions