1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: qeth: fix offset error in non prealloc header path
3 References: bnc#434333,LTC#48840
5 Symptom: bad or no VSWITCH/guest lan network traffic
6 Problem: Offset error in the non prealloc header path
7 Solution: For the non preallocated qeth header code path we should not
8 change the header length.
10 Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
12 Acked-by: John Jolly <jjolly@suse.de>
15 drivers/s390/net/qeth_core_main.c | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
18 Index: linux-sles11/drivers/s390/net/qeth_core_main.c
19 ===================================================================
20 --- linux-sles11.orig/drivers/s390/net/qeth_core_main.c
21 +++ linux-sles11/drivers/s390/net/qeth_core_main.c
22 @@ -3034,7 +3034,7 @@ static inline void __qeth_fill_buffer(st
23 struct qdio_buffer *buffer, int is_tso, int *next_element_to_fill,
26 - int length = skb->len - offset;
27 + int length = skb->len;
31 @@ -3046,6 +3046,7 @@ static inline void __qeth_fill_buffer(st
34 data = skb->data + offset;