tcp: Remove redundant checks when setting eff_sacks
authorAdam Langley <agl@imperialviolet.org>
Sat, 19 Jul 2008 07:07:02 +0000 (00:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jul 2008 07:07:02 +0000 (00:07 -0700)
Remove redundant checks when setting eff_sacks and make the number of SACKs a
compile time constant. Now that the options code knows how many SACK blocks can
fit in the header, we don't need to have the SACK code guessing at it.

Signed-off-by: Adam Langley <agl@imperialviolet.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found