tcp: Optimise GRO port comparisons
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 26 May 2009 18:50:24 +0000 (18:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 10:25:57 +0000 (03:25 -0700)
commit745898eaf0eb7a04a56dec1188d9148259510863
treec4ad29d7bc6e8ceb5a96f68cee363f871b2bf17f
parent78d3fd0b7de844a6dad56e9620fc9d2271b32ab9
tcp: Optimise GRO port comparisons

Instead of doing two 16-bit operations for the source/destination
ports, we can do one 32-bit operation to take care both.

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