Re: [PATCH] smsc9420: prevent BUG() if ethtool is called with interface down
From: David Miller <davem@davemloft.net>
Date: 2009-11-30 07:15:07
From: David Miller <davem@davemloft.net>
Date: 2009-11-30 07:15:07
From: Steve Glendinning <redacted> Date: Wed, 25 Nov 2009 16:21:56 +0000
This patch fixes a null pointer dereference BUG() if ethtool is used on an smsc9420 interface while it is down, because the phy_dev is only allocated while the interface is up. Please also consider for -stable. Signed-off-by: Steve Glendinning <redacted>
Applied and queued up for -stable, thanks.