projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db2266
)
qeth: preallocated header account offset
author
Frank Blaschka
<frank.blaschka@de.ibm.com>
Fri, 15 Aug 2008 06:03:00 +0000
(08:03 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 27 Aug 2008 09:55:28 +0000
(
05:55
-0400)
When a preallocated header qdio buffer is filled we have to account
the offset for the data length.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/s390/net/qeth_core_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_core_main.c
b/drivers/s390/net/qeth_core_main.c
index bd420d1b9a0d705c75b5809b0c177c7bb45992f5..c7ab1b864516694e97eb3438a70b26f7a20fb952 100644
(file)
--- a/
drivers/s390/net/qeth_core_main.c
+++ b/
drivers/s390/net/qeth_core_main.c
@@
-3024,7
+3024,7
@@
static inline void __qeth_fill_buffer(struct sk_buff *skb,
struct qdio_buffer *buffer, int is_tso, int *next_element_to_fill,
int offset)
{
- int length = skb->len;
+ int length = skb->len
- offset
;
int length_here;
int element;
char *data;