Messages in this thread | | | Date | Wed, 14 Jan 2009 11:51:10 +1100 | From | Herbert Xu <> | Subject | Re: [PATCH] tcp: splice as many packets as possible at once |
| |
David Miller <davem@davemloft.net> wrote: > > I wish there were some way we could make this code grab and release a > reference to the SKB data area (I mean skb_shinfo(skb)->dataref) to > accomplish it's goals.
We can probably do that for spliced data that end up going to the networking stack again. However, as splice is generic the data may be headed to a destination other than the network stack.
In that case to make dataref work we'd need some mechanism that allows non-network entities to get/drop this ref count.
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
| |