Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360295
b: refs/heads/master
c: b2593cb
h: refs/heads/master
i:
  360293: 336dc27
  360291: fe37f3f
  360287: eb03cc0
v: v3
  • Loading branch information
Bhanu Prakash Gollapudi authored and Robert Love committed Feb 12, 2013
1 parent 793aa7b commit e529a7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 94aa743a2af455ee3bd9fc3410dff82f6abf4522
refs/heads/master: b2593cbe18c4f50c9acacd88860b051f567654d7
10 changes: 9 additions & 1 deletion trunk/drivers/scsi/fcoe/fcoe_ctlr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1291,8 +1291,16 @@ static void fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip,

LIBFCOE_FIP_DBG(fip, "Clear Virtual Link received\n");

if (!fcf || !lport->port_id)
if (!fcf || !lport->port_id) {
/*
* We are yet to select best FCF, but we got CVL in the
* meantime. reset the ctlr and let it rediscover the FCF
*/
mutex_lock(&fip->ctlr_mutex);
fcoe_ctlr_reset(fip);
mutex_unlock(&fip->ctlr_mutex);
return;
}

/*
* mask of required descriptors. Validating each one clears its bit.
Expand Down

0 comments on commit e529a7e

Please sign in to comment.