Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213317
b: refs/heads/master
c: 2c2255e
h: refs/heads/master
i:
  213315: 99d7133
v: v3
  • Loading branch information
Eddie Wai authored and James Bottomley committed Sep 5, 2010
1 parent 0a3af78 commit 394b068
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c47b401230895edc94abe2c342811a2171375dbe
refs/heads/master: 2c2255e08dee510c68d641195f83d40899897c65
10 changes: 6 additions & 4 deletions trunk/drivers/scsi/bnx2i/bnx2i_iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1996,11 +1996,13 @@ int bnx2i_hw_ep_disconnect(struct bnx2i_endpoint *bnx2i_ep)
else
close_ret = cnic->cm_abort(bnx2i_ep->cm_sk);

/* No longer allow CFC delete if cm_close/abort fails the request */
if (close_ret)
bnx2i_ep->state = EP_STATE_DISCONN_COMPL;

/* wait for option-2 conn teardown */
wait_event_interruptible(bnx2i_ep->ofld_wait,
printk(KERN_ALERT "bnx2i: %s close/abort(%d) returned %d\n",
bnx2i_ep->hba->netdev->name, close, close_ret);
else
/* wait for option-2 conn teardown */
wait_event_interruptible(bnx2i_ep->ofld_wait,
bnx2i_ep->state != EP_STATE_DISCONN_START);

if (signal_pending(current))
Expand Down

0 comments on commit 394b068

Please sign in to comment.