diff options
-rw-r--r-- | drivers/s390/net/qeth_eddp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_eddp.c b/drivers/s390/net/qeth_eddp.c index 4640f32daae5..70108fb16906 100644 --- a/drivers/s390/net/qeth_eddp.c +++ b/drivers/s390/net/qeth_eddp.c | |||
@@ -424,8 +424,7 @@ __qeth_eddp_fill_context_tcp(struct qeth_eddp_context *ctx, | |||
424 | /* prepare qdio hdr */ | 424 | /* prepare qdio hdr */ |
425 | if (eddp->qh.hdr.l2.id == QETH_HEADER_TYPE_LAYER2){ | 425 | if (eddp->qh.hdr.l2.id == QETH_HEADER_TYPE_LAYER2){ |
426 | eddp->qh.hdr.l2.pkt_length = data_len + ETH_HLEN + | 426 | eddp->qh.hdr.l2.pkt_length = data_len + ETH_HLEN + |
427 | eddp->nhl + eddp->thl - | 427 | eddp->nhl + eddp->thl; |
428 | sizeof(struct qeth_hdr); | ||
429 | #ifdef CONFIG_QETH_VLAN | 428 | #ifdef CONFIG_QETH_VLAN |
430 | if (eddp->mac.h_proto == __constant_htons(ETH_P_8021Q)) | 429 | if (eddp->mac.h_proto == __constant_htons(ETH_P_8021Q)) |
431 | eddp->qh.hdr.l2.pkt_length += VLAN_HLEN; | 430 | eddp->qh.hdr.l2.pkt_length += VLAN_HLEN; |