Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158745
b: refs/heads/master
c: bd9ee68
h: refs/heads/master
i:
  158743: d7f4751
v: v3
  • Loading branch information
Sreenivasa Honnur authored and David S. Miller committed Jul 6, 2009
1 parent 9890944 commit e4adf75
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 914d0d714fa472d7f99ef899a8180628ecdcd23c
refs/heads/master: bd9ee6808b6c9106fd8046693c544d081746184b
3 changes: 3 additions & 0 deletions trunk/drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2890,6 +2890,9 @@ int do_vxge_close(struct net_device *dev, int do_io)
vdev = (struct vxgedev *)netdev_priv(dev);
hldev = (struct __vxge_hw_device *) pci_get_drvdata(vdev->pdev);

if (unlikely(!is_vxge_card_up(vdev)))
return 0;

/* If vxge_handle_crit_err task is executing,
* wait till it completes. */
while (test_and_set_bit(__VXGE_STATE_RESET_CARD, &vdev->state))
Expand Down

0 comments on commit e4adf75

Please sign in to comment.