]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/af_inet.c
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)
commit1075f3f65d0e0f49351b7d4310e9f94483972a51
treee5b4a0dbf4eef170da483ce5c52855b7b354e4e0
parenta5b1cf288d4200506ab62fbb86cc81ace948a306
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