Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224389
b: refs/heads/master
c: a41c059
h: refs/heads/master
i:
  224387: 0d4e8ca
v: v3
  • Loading branch information
Yi Zou authored and Jeff Kirsher committed Nov 17, 2010
1 parent 61d94d6 commit 69092db
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: c84d324c770dc81acebc1042163da33c8ded2364
refs/heads/master: a41c059741570779c0254a3a1aa4da3baa463d7c
5 changes: 5 additions & 0 deletions trunk/drivers/net/ixgbe/ixgbe_fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid,
return 0;
}

/* no DDP if we are already down or resetting */
if (test_bit(__IXGBE_DOWN, &adapter->state) ||
test_bit(__IXGBE_RESETTING, &adapter->state))
return 0;

fcoe = &adapter->fcoe;
if (!fcoe->pool) {
e_warn(drv, "xid=0x%x no ddp pool for fcoe\n", xid);
Expand Down

0 comments on commit 69092db

Please sign in to comment.