aboutsummaryrefslogtreecommitdiff
path: root/net/x25
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-12-15 19:57:25 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-19 21:50:20 -0800
commit71d9dec24dce548bf699815c976cf063ad9257e2 (patch)
treeaad41859f011a20125acb3a717b3fc3121f108a2 /net/x25
parent1a75972c61f2c224eb5283c183f9f6b17fb09b6b (diff)
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 <xiaosuo@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions