[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150416.141427.1085248733060476395.davem@davemloft.net>
Date: Thu, 16 Apr 2015 14:14:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: pure.logic@...us-software.ie
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org,
andriy.shevchenko@...ux.intel.com, hock.leong.kweh@...el.com,
boon.leong.ong@...el.com, dan.odonovan@...tex.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/1] stmmac: fix oops on rmmod after assigning ip
addr
From: Bryan O'Donoghue <pure.logic@...us-software.ie>
Date: Thu, 16 Apr 2015 17:56:03 +0100
> 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 <pure.logic@...us-software.ie>
> Reported-by: Dan O'Donovan <dan.odonovan@...tex.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists