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:
cdc4ead
)
net: flow_dissector: small optimizations in IPv4 dissect
author
Eric Dumazet
<edumazet@google.com>
Thu, 7 Nov 2013 16:37:28 +0000
(08:37 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 Nov 2013 18:30:02 +0000
(13:30 -0500)
By moving code around, we avoid :
1) A reload of iph->ihl (bit field, so needs a mask)
2) A conditional test (replaced by a conditional mov on x86)
Fast path loads iph->protocol anyway.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found