diff options
-rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index dcccb0bf3170..1a0bb230dd03 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c | |||
@@ -1000,6 +1000,17 @@ static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb) | |||
1000 | fcoe_ctlr_solicit(fip, NULL); | 1000 | fcoe_ctlr_solicit(fip, NULL); |
1001 | 1001 | ||
1002 | /* | 1002 | /* |
1003 | * Put this FCF at the head of the list for priority among equals. | ||
1004 | * This helps in the case of an NPV switch which insists we use | ||
1005 | * the FCF that answers multicast solicitations, not the others that | ||
1006 | * are sending periodic multicast advertisements. | ||
1007 | */ | ||
1008 | if (mtu_valid) { | ||
1009 | list_del(&fcf->list); | ||
1010 | list_add(&fcf->list, &fip->fcfs); | ||
1011 | } | ||
1012 | |||
1013 | /* | ||
1003 | * If this is the first validated FCF, note the time and | 1014 | * If this is the first validated FCF, note the time and |
1004 | * set a timer to trigger selection. | 1015 | * set a timer to trigger selection. |
1005 | */ | 1016 | */ |