git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e125646
)
net: Fix frag_list handling in skb_seq_read
author
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 30 Jan 2009 00:07:52 +0000
(16:07 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 30 Jan 2009 00:07:52 +0000
(16:07 -0800)
The frag_list handling was broken in skb_seq_read:
1) We didn't add the stepped offset when looking at the head
are of fragments other than the first.
2) We didn't take the stepped offset away when setting the data
pointer in the head area.
3) The frag index wasn't reset.
This patch fixes both issues.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
patch
|
blob
|
history
diff --cc
net/core/skbuff.c
Simple merge