[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100906.182530.116366191.davem@davemloft.net>
Date: Mon, 06 Sep 2010 18:25:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: pskb_expand_head() optimization
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 03 Sep 2010 11:09:32 +0200
> [PATCH net-next-2.6] net: pskb_expand_head() optimization
>
> pskb_expand_head() blindly takes references on fragments before calling
> skb_release_data(), potentially releasing these references.
>
> We can add a fast path, avoiding these atomic operations, if we own the
> last reference on skb->head.
>
> Based on a previous patch from David
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Eric, I ended up applying this patch after all, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists