diff options
author | Frank Blaschka <frank.blaschka@de.ibm.com> | 2010-11-26 02:41:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 18:13:18 -0800 |
commit | 8fa9208e305e24978b897d6ea057604444ce77e1 (patch) | |
tree | 09f528d19e0c70d3984306d853180cb387143c07 /drivers/s390/net | |
parent | 2b6203bb7d85e6a2ca2088b8684f30be70246ddf (diff) | |
download | kernel_samsung_smdk4412-8fa9208e305e24978b897d6ea057604444ce77e1.zip kernel_samsung_smdk4412-8fa9208e305e24978b897d6ea057604444ce77e1.tar.gz kernel_samsung_smdk4412-8fa9208e305e24978b897d6ea057604444ce77e1.tar.bz2 |
qeth: l3 fix len in tso hdr
The tso hdr is longer then the regular l3 hdr. Fix the calculation
of the total len by accounting the size of the tso hdr.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 3ddd5ad..a1abb37 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -2939,6 +2939,7 @@ static void qeth_tso_fill_header(struct qeth_card *card, /*fix header to TSO values ...*/ hdr->hdr.hdr.l3.id = QETH_HEADER_TYPE_TSO; + hdr->hdr.hdr.l3.length = skb->len - sizeof(struct qeth_hdr_tso); /*set values which are fix for the first approach ...*/ hdr->ext.hdr_tot_len = (__u16) sizeof(struct qeth_hdr_ext_tso); hdr->ext.imb_hdr_no = 1; |