]> err.no Git - linux-2.6/commit
[NET]: Set truesize in pskb_copy
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Nov 2006 22:57:15 +0000 (14:57 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 7 Nov 2006 23:10:14 +0000 (15:10 -0800)
commit25f484a62e41be8020b9a31bf50a792baa58d2d4
treed8323930780d38c8c66d0ebc80b36c6c14d56824
parent8e365eec04c86899fab5db0f49a9c98554069bd0
[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>
net/core/skbuff.c