Thread (12 messages) 12 messages, 4 authors, 2006-08-03

Re: [NET]: Fix ___pskb_trim when entire frag_list needs dropping

From: David Miller <davem@davemloft.net>
Date: 2006-07-30 22:46:39

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sat, 29 Jul 2006 21:45:25 +1000
[NET]: Fix ___pskb_trim when entire frag_list needs dropping

When the trim point is within the head and there is no paged data,
___pskb_trim fails to drop the first element in the frag_list.
This patch fixes this by moving the len <= offset case out of the
page data loop.

This patch also adds a missing kfree_skb on the frag that we just
cloned.
 
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied, thanks Herbert.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help