Re: [RFC v2] mac80211: assign needed_headroom/tailroom for netdevs

Herbert Xu
2008-05-06T01:33:19Z

On Mon, May 05, 2008 at 04:39:16PM -0700, David Miller wrote:
>
> On free, since skb->nohdr is set, we'll decrement both of (1 <<
> SKB_DATAREF_SHIFT) and the low 16-bit counter.

skb->nohdr is cleared for clones. Only the copy held by TCP
should have it set. So this should work correctly, in theory :)

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt