aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/fcoe/libfcoe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c
index a7ecafb9a507..929411880e4b 100644
--- a/drivers/scsi/fcoe/libfcoe.c
+++ b/drivers/scsi/fcoe/libfcoe.c
@@ -213,7 +213,7 @@ static void fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf)
213 sol->desc.size.fd_size = htons(fcoe_size); 213 sol->desc.size.fd_size = htons(fcoe_size);
214 214
215 skb_put(skb, sizeof(*sol)); 215 skb_put(skb, sizeof(*sol));
216 skb->protocol = htons(ETH_P_802_3); 216 skb->protocol = htons(ETH_P_FIP);
217 skb_reset_mac_header(skb); 217 skb_reset_mac_header(skb);
218 skb_reset_network_header(skb); 218 skb_reset_network_header(skb);
219 fip->send(fip, skb); 219 fip->send(fip, skb);
@@ -365,7 +365,7 @@ static void fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip, int ports, u8 *sa)
365 } 365 }
366 366
367 skb_put(skb, len); 367 skb_put(skb, len);
368 skb->protocol = htons(ETH_P_802_3); 368 skb->protocol = htons(ETH_P_FIP);
369 skb_reset_mac_header(skb); 369 skb_reset_mac_header(skb);
370 skb_reset_network_header(skb); 370 skb_reset_network_header(skb);
371 fip->send(fip, skb); 371 fip->send(fip, skb);
@@ -424,7 +424,7 @@ static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip,
424 if (dtype != ELS_FLOGI) 424 if (dtype != ELS_FLOGI)
425 memcpy(mac->fd_mac, fip->data_src_addr, ETH_ALEN); 425 memcpy(mac->fd_mac, fip->data_src_addr, ETH_ALEN);
426 426
427 skb->protocol = htons(ETH_P_802_3); 427 skb->protocol = htons(ETH_P_FIP);
428 skb_reset_mac_header(skb); 428 skb_reset_mac_header(skb);
429 skb_reset_network_header(skb); 429 skb_reset_network_header(skb);
430 return 0; 430 return 0;