Skip to content
Commit 745898ea authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 78d3fd0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment