Re: [PATCH] tcp: splice as many packets as possible at once

From: Evgeniy Polyakov
Date: Tue Jan 13 2009 - 19:23:16 EST


On Tue, Jan 13, 2009 at 04:16:25PM -0800, David Miller (davem@xxxxxxxxxxxxx) 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.

Ugh... Clone without cloninig, but by increasing the dataref. Getting
that splice only needs that skb to track the head of the original, this
may really work.

--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/