diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-12-15 19:57:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-19 21:50:20 -0800 |
commit | 71d9dec24dce548bf699815c976cf063ad9257e2 (patch) | |
tree | aad41859f011a20125acb3a717b3fc3121f108a2 /net/x25 | |
parent | 1a75972c61f2c224eb5283c183f9f6b17fb09b6b (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