Thread (21 messages) 21 messages, 3 authors, 2012-05-10

Re: [PATCH 7/9] net: add skb_orphan_frags to copy aside frags with destructors

From: Ian Campbell <hidden>
Date: 2012-05-04 10:51:34

On Fri, 2012-05-04 at 11:03 +0100, Michael S. Tsirkin wrote:
On Fri, May 04, 2012 at 02:54:33AM -0400, David Miller wrote:
quoted
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Fri, 4 May 2012 00:10:24 +0300
quoted
Hmm we orphan skbs when we loop them back so how about reusing the
skb->destructor for this?
That's one possibility.

But I fear we're about to toss Ian into yet another rabbit hole. :-)

Let's try to converge on something quickly as I think integration of
his work has been delayed enough as-is.
This is more intrusive than I'd like because on
error we need to free the skb, so need
to return error code from orphan, but it does not add
an extra branch since skb_orphan is inline.
So intrusive but should not hurt fast path.

It's weekend here, I'll work on a patch like this
Sunday.
Thanks, I was starting to feel my nose twitching and my ears beginning
to elongate ;-)

Ian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help