summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-11-07 17:37:28 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-08 19:30:02 +0100
commit3797d3e8462efdaadb64164ca540626b55fe8336 (patch)
tree34f7b159f88933738c73e3c8f39d38b1715dd103 /net/ipv6
parentnetdev: smc91x: enable for xtensa (diff)
downloadlinux-3797d3e8462efdaadb64164ca540626b55fe8336.tar.xz
linux-3797d3e8462efdaadb64164ca540626b55fe8336.zip
net: flow_dissector: small optimizations in IPv4 dissect
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>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions