aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2012-10-28 18:45:04 +0000
committerAndre Oppermann <andre@FreeBSD.org>2012-10-28 18:45:04 +0000
commit602e8e45ee1ea4fab1bcf6aa1da2ecbb9c06a694 (patch)
treea0a9d1628d013bfd127c495bef1562a6dac19b91 /sys/netinet/tcp_timer.c
parent14d7c5b11ceeff9616afe904cea28788e56093a5 (diff)
downloadsrc-602e8e45ee1ea4fab1bcf6aa1da2ecbb9c06a694.tar.gz
src-602e8e45ee1ea4fab1bcf6aa1da2ecbb9c06a694.zip
Remove bogus 'else' in #ifdef that prevented the rttvar from being reset
tcp_timer_rexmt() on retransmit for IPv6 sessions. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=242257
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 979c4b353e3b..6aacb6190940 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;