From: Changli Gao Date: Wed, 15 Dec 2010 19:57:25 +0000 (+0000) Subject: net: increase skb->users instead of skb_clone() X-Git-Tag: v2.6.38-rc1~476^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71d9dec24dce548bf699815c976cf063ad9257e2;p=pandora-kernel.git net: increase skb->users instead of skb_clone() 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed