aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2013-11-09 23:19:15 -0500
committerJames Bottomley <JBottomley@Parallels.com>2013-11-09 23:19:15 -0500
commit323f6226a816f0b01514d25fba5529e0e68636c3 (patch)
tree964ca28650bc92ce0ed2ba87c1c16ba65f55ebf5 /drivers/scsi/bnx2fc
parent6fd046f960354250de3fed411eecdb784601bbad (diff)
parent6942df7f775107b504f10de42c81971f514d718d (diff)
Merge tag 'fcoe-3.13' into for-linus
Pull Request for 3.13 for FCOE tree. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_fcoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index 3c204ad1d5b9..9b948505d118 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -542,8 +542,7 @@ static void bnx2fc_recv_frame(struct sk_buff *skb)
542 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); 542 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id));
543 if (vn_port) { 543 if (vn_port) {
544 port = lport_priv(vn_port); 544 port = lport_priv(vn_port);
545 if (compare_ether_addr(port->data_src_addr, dest_mac) 545 if (!ether_addr_equal(port->data_src_addr, dest_mac)) {
546 != 0) {
547 BNX2FC_HBA_DBG(lport, "fpma mismatch\n"); 546 BNX2FC_HBA_DBG(lport, "fpma mismatch\n");
548 put_cpu(); 547 put_cpu();
549 kfree_skb(skb); 548 kfree_skb(skb);
@@ -1381,6 +1380,7 @@ struct bnx2fc_interface *bnx2fc_interface_create(struct bnx2fc_hba *hba,
1381 return NULL; 1380 return NULL;
1382 } 1381 }
1383 ctlr = fcoe_ctlr_device_priv(ctlr_dev); 1382 ctlr = fcoe_ctlr_device_priv(ctlr_dev);
1383 ctlr->cdev = ctlr_dev;
1384 interface = fcoe_ctlr_priv(ctlr); 1384 interface = fcoe_ctlr_priv(ctlr);
1385 dev_hold(netdev); 1385 dev_hold(netdev);
1386 kref_init(&interface->kref); 1386 kref_init(&interface->kref);