Re: tg3 kernel oops when setting flow control while interface is down (2.6.10)
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-03-11 03:45:21
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-03-11 03:45:21
On Mon, 28 Feb 2005 09:26:25 -0800 "Michael Chan" [off-list ref] wrote:
I think it is better to just set the PAUSE flags and return 0 if !netif_running(). This way, the settings will take effect when the device is subsequently brought up.
Then arguably we should do the same for link settings too. His patch exactly makes pause parameter setting behave the same as we currently do for link settings, if the device is down or in low power PHY mode, we -EAGAIN error out. We have to decide driver-wide how we're going to handle this situation.