Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159298
b: refs/heads/master
c: d6a1f83
h: refs/heads/master
v: v3
  • Loading branch information
Dean Nelson authored and David S. Miller committed Aug 2, 2009
1 parent 14f2740 commit 52f006b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c06c430dedf71a0e9180d673191b9c9368aeaa65
refs/heads/master: d6a1f83b63e6999ee9374330ea2d7924e775aff7
5 changes: 5 additions & 0 deletions trunk/drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2227,6 +2227,11 @@ static pci_ers_result_t ixgb_io_error_detected(struct pci_dev *pdev,
struct net_device *netdev = pci_get_drvdata(pdev);
struct ixgb_adapter *adapter = netdev_priv(netdev);

netif_device_detach(netdev);

if (state == pci_channel_io_perm_failure)
return PCI_ERS_RESULT_DISCONNECT;

if (netif_running(netdev))
ixgb_down(adapter, true);

Expand Down

0 comments on commit 52f006b

Please sign in to comment.