diff options
author | Bryan O'Donoghue <[email protected]> | 2015-04-16 17:56:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-04-16 13:57:07 -0400 |
commit | e743471f8d9c6ad00eb10a6d1e05803231e1de83 (patch) | |
tree | 656c0280625b37eacfa1f7e8a395767c39b6f93b /scripts/gdb/linux/symbols.py | |
parent | 31976cfdc7e2e8b0b23d731703e4f1e21ff79466 (diff) |
stmmac: fix oops on rmmod after assigning ip addr
An oops exists in the flow of stmmac_release().
phy_ethtool_get_wol() depends on phydev->drv.
phydev->drv will be null after stmmac_mdio_unreg() completes.
Steps to reproduce on Quark X1000:
1. ifconfig eth0 192.168.0.1
2. rmmod stmmac_pci
To fix this stmmac_mdio_unreg() should be run after unregister_netdev().
Signed-off-by: Bryan O'Donoghue <[email protected]>
Reported-by: Dan O'Donovan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions