]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Use 32-bit loads for ID and length in GRO
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 26 May 2009 18:50:29 +0000 (18:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 10:26:02 +0000 (03:26 -0700)
commitc4ad4a5591559688251a68fd54758b255bdcb0af
treee5b4a0dbf4eef170da483ce5c52855b7b354e4e0
parent882db536c2bf99a63f0781abdf2fc71552bb0b10
ipv4: Use 32-bit loads for ID and length in GRO

This patch optimises the IPv4 GRO code by using 32-bit loads
(instead of 16-bit ones) on the ID and length checks in the receive
function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c