mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
sky2: reboot fix
The call to napi_disable() in the PCI shutdown handler is problematic, and is aggravated by the new NAPI. Also, make sure watchdog timer doesn't go off. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4fa435018d
commit
5c0d6b34d6
1 changed files with 1 additions and 1 deletions
|
@ -4396,7 +4396,7 @@ static void sky2_shutdown(struct pci_dev *pdev)
|
|||
if (!hw)
|
||||
return;
|
||||
|
||||
napi_disable(&hw->napi);
|
||||
del_timer_sync(&hw->watchdog_timer);
|
||||
|
||||
for (i = 0; i < hw->ports; i++) {
|
||||
struct net_device *dev = hw->dev[i];
|
||||
|
|
Loading…
Reference in a new issue