From: Eric Dumazet Date: Thu, 7 Nov 2013 16:37:28 +0000 (-0800) Subject: net: flow_dissector: small optimizations in IPv4 dissect X-Git-Tag: v3.13-rc1~105^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3797d3e8462efdaadb64164ca540626b55fe8336;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed