diff options
author | Julian Anastasov <ja@ssi.bg> | 2009-10-19 10:10:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-19 19:19:06 -0700 |
commit | b103cf34382f26ff48a87931b83f13b177b47c1a (patch) | |
tree | 6922379bca3fc9935d394bc474a91b859ac06813 /net/dsa/tag_dsa.c | |
parent | 0c3d79bce48034018e840468ac5a642894a521a3 (diff) |
tcp: fix TCP_DEFER_ACCEPT retrans calculation
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>
Diffstat (limited to 'net/dsa/tag_dsa.c')
0 files changed, 0 insertions, 0 deletions