Re: Set truesize in pskb_expand_head
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-09-27 21:29:53
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-09-27 21:29:53
On Mon, Sep 27, 2004 at 12:27:00PM -0700, David S. Miller wrote:
Ok.. idea wise. But, why are you subtracting 'delta' from skb->truesize? That's the amount actually used not the amount trimmed by pskb_expand_head().
delta = skb->end - skb->tail which is the amount we want to trim. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt