Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159295
b: refs/heads/master
c: 2ec3de2
h: refs/heads/master
i:
  159293: 3b0cf39
  159291: 73f7a5e
  159287: a32eac9
  159279: c4e1607
  159263: e9b0d19
  159231: 040bb7e
v: v3
  • Loading branch information
Dean Nelson authored and David S. Miller committed Aug 2, 2009
1 parent 7fe75a3 commit 3a34d69
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: 0d6ab58da0465c42f34d9d4e7d91510278183c80
refs/heads/master: 2ec3de26d2dc666159b79a8b9394fa00b6f414ae
5 changes: 5 additions & 0 deletions trunk/drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -8199,6 +8199,11 @@ static pci_ers_result_t bnx2_io_error_detected(struct pci_dev *pdev,
rtnl_lock();
netif_device_detach(dev);

if (state == pci_channel_io_perm_failure) {
rtnl_unlock();
return PCI_ERS_RESULT_DISCONNECT;
}

if (netif_running(dev)) {
bnx2_netif_stop(bp);
del_timer_sync(&bp->timer);
Expand Down

0 comments on commit 3a34d69

Please sign in to comment.