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:
84b9cd6
)
tcp: optimize some skb_shinfo(skb) uses
author
Eric Dumazet
<edumazet@google.com>
Fri, 6 Dec 2013 06:31:30 +0000
(22:31 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 6 Dec 2013 17:51:40 +0000
(12:51 -0500)
Compiler doesn't know skb_shinfo(skb) pointer is usually constant.
By using a temporary variable, we help generating smaller code.
For example, tcp_init_nondata_skb() is inlined after this patch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c
patch
|
blob
|
history
diff --cc
net/ipv4/tcp_output.c
Simple merge