diff options
author | andre <andre@FreeBSD.org> | 2012-10-28 18:45:04 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2012-10-28 18:45:04 +0000 |
commit | 06a013a7a62e040601f1f24c6aacf678d11b100c (patch) | |
tree | a0a9d1628d013bfd127c495bef1562a6dac19b91 /sys/netinet/tcp_timer.c | |
parent | d4bd5c150c587d094626f718ccb56a6504166457 (diff) | |
download | FreeBSD-src-06a013a7a62e040601f1f24c6aacf678d11b100c.zip FreeBSD-src-06a013a7a62e040601f1f24c6aacf678d11b100c.tar.gz |
Remove bogus 'else' in #ifdef that prevented the rttvar from being reset
tcp_timer_rexmt() on retransmit for IPv6 sessions.
MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 979c4b3..6aacb61 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -596,7 +596,6 @@ tcp_timer_rexmt(void * xtp) #ifdef INET6 if ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) in6_losing(tp->t_inpcb); - else #endif tp->t_rttvar += (tp->t_srtt >> TCP_RTT_SHIFT); tp->t_srtt = 0; |