diff options
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 6e7a700f5d54..e606b4829d44 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -1037,8 +1037,7 @@ int fcoe_xmit(struct fc_lport *lp, struct fc_frame *fp) | |||
1037 | sof = fr_sof(fp); | 1037 | sof = fr_sof(fp); |
1038 | eof = fr_eof(fp); | 1038 | eof = fr_eof(fp); |
1039 | 1039 | ||
1040 | elen = (fc->real_dev->priv_flags & IFF_802_1Q_VLAN) ? | 1040 | elen = sizeof(struct ethhdr); |
1041 | sizeof(struct vlan_ethhdr) : sizeof(struct ethhdr); | ||
1042 | hlen = sizeof(struct fcoe_hdr); | 1041 | hlen = sizeof(struct fcoe_hdr); |
1043 | tlen = sizeof(struct fcoe_crc_eof); | 1042 | tlen = sizeof(struct fcoe_crc_eof); |
1044 | wlen = (skb->len - tlen + sizeof(crc)) / FCOE_WORD_TO_BYTE; | 1043 | wlen = (skb->len - tlen + sizeof(crc)) / FCOE_WORD_TO_BYTE; |