]> err.no Git - linux-2.6/commit
[INET]: Omit double hash calculations in xxx_frag_intern
authorPavel Emelyanov <xemul@openvz.org>
Thu, 18 Oct 2007 02:43:37 +0000 (19:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 02:43:37 +0000 (19:43 -0700)
commitfd9e63544cac30a34c951f0ec958038f0529e244
treeab50911ec813780ee1e472089f4b02a3be6a69e6
parentbe07664599fa94d0b85c3e0f525aee2432d15fbf
[INET]: Omit double hash calculations in xxx_frag_intern

Since the hash value is already calculated in xxx_find, we can
simply use it later. This is already done in netfilter code,
so make the same in ipv4 and ipv6.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c
net/ipv6/reassembly.c