]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NET]: Set truesize in pskb_copy
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Nov 2006 10:03:56 +0000 (11:03 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 9 Nov 2006 10:03:56 +0000 (11:03 +0100)
commit5f61e927c7c47e696f7fe18ae3e7ea32a42e1d24
tree7a6ad901990530176a4d56ec41bffd5bd886ba51
parent289b5dceffbf83344a6e8dc319f8e2822edeab5f
[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: Adrian Bunk <bunk@stusta.de>
net/core/skbuff.c