tcp: fix TCP_DEFER_ACCEPT retrans calculation
authorJulian Anastasov <ja@ssi.bg>
Mon, 19 Oct 2009 10:10:40 +0000 (10:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Oct 2009 02:19:06 +0000 (19:19 -0700)
Fix TCP_DEFER_ACCEPT conversion between seconds and
retransmission to match the TCP SYN-ACK retransmission periods
because the time is converted to such retransmissions. The old
algorithm selects one more retransmission in some cases. Allow
up to 255 retransmissions.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found