]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] NET: Set truesize in pskb_copy
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Nov 2006 06:33:56 +0000 (22:33 -0800)
committerChris Wright <chrisw@sous-sol.org>
Sun, 19 Nov 2006 03:28:03 +0000 (19:28 -0800)
commit37ccc3f978bc86c131eea70d7a5afb29b2ca3404
treeeadb872421304bbaf1e89d45640527966f794a4f
parentb2d4f8d42c3ab6360dde290fc184182d5e371911
[PATCH] NET: Set truesize in pskb_copy

Since pskb_copy tacks on the non-linear bits from the original
skb, it needs to count them in the truesize field of the new skb.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/core/skbuff.c