projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d8737
)
[SCSI] fcoe: Fix checking san mac address
author
Yi Zou
<yi.zou@intel.com>
Tue, 3 Nov 2009 19:49:38 +0000
(11:49 -0800)
committer
James Bottomley
<James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:21 +0000
(12:01 -0600)
This was fixed before in
7a7f0c7
but it's introduced again recently.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/fcoe/fcoe.c
b/drivers/scsi/fcoe/fcoe.c
index 343900ac0ece5daa4e05a9886018c787d4a33efc..2274fcd4c71312364da9d856c961f0337df75b90 100644
(file)
--- a/
drivers/scsi/fcoe/fcoe.c
+++ b/
drivers/scsi/fcoe/fcoe.c
@@
-275,7
+275,7
@@
static int fcoe_interface_setup(struct fcoe_interface *fcoe,
rcu_read_lock();
for_each_dev_addr(netdev, ha) {
if ((ha->type == NETDEV_HW_ADDR_T_SAN) &&
- (is_valid_ether_addr(
fip->ctl_src_
addr))) {
+ (is_valid_ether_addr(
ha->
addr))) {
memcpy(fip->ctl_src_addr, ha->addr, ETH_ALEN);
fip->spma = 1;
break;