Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298292
b: refs/heads/master
c: 2280512
h: refs/heads/master
v: v3
  • Loading branch information
Robert Love authored and James Bottomley committed Mar 28, 2012
1 parent ded9b16 commit c4a3267
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a165de82b08ddba1fc8b0c4eb56b9020f981c002
refs/heads/master: 2280512342ead9a2858b1490b21e5bcaf4f4cfc7
6 changes: 5 additions & 1 deletion trunk/drivers/scsi/fcoe/fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2186,8 +2186,12 @@ static int fcoe_create(struct net_device *netdev, enum fip_state fip_mode)
/* start FIP Discovery and FLOGI */
lport->boot_time = jiffies;
fc_fabric_login(lport);
if (!fcoe_link_ok(lport))
if (!fcoe_link_ok(lport)) {
rtnl_unlock();
fcoe_ctlr_link_up(&fcoe->ctlr);
mutex_unlock(&fcoe_config_mutex);
return rc;
}

out_nodev:
rtnl_unlock();
Expand Down

0 comments on commit c4a3267

Please sign in to comment.