git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a75972
)
net: increase skb->users instead of skb_clone()
author
Changli Gao
<xiaosuo@gmail.com>
Wed, 15 Dec 2010 19:57:25 +0000
(19:57 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Dec 2010 05:50:20 +0000
(21:50 -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>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
history
diff --cc
net/core/dev.c
Simple merge