Re: [PATCH] net: increase skb->users instead of skb_clone()

David Miller
2010-12-20T05:50:05Z

From: Changli Gao <xiaosuo@gmail.com>
Date: Thu, 16 Dec 2010 13:57:25 +0800

> In dev_queue_xmit_nit(), we have to clone skbs as we need to mangle skbs,
> however, we don't need to clone skbs for all the packet_types.
>
> Except for the first packet_type, we increase skb->users instead of
> skb_clone().
>
> Signed-off-by: Changli Gao <xiaosuo@gmail.com>

Applied, thanks.