svn commit: r237121 - user/andre/tcp_workqueue/sys/netinet
Andre Oppermann
andre at FreeBSD.org
Fri Jun 15 07:42:45 UTC 2012
Author: andre
Date: Fri Jun 15 07:42:44 2012
New Revision: 237121
URL: http://svn.freebsd.org/changeset/base/237121
Log:
Remove bogus 'else' in #ifdef that prevented the rttvar from being reset on
retransmit for IPv6 sessions.
Modified:
user/andre/tcp_workqueue/sys/netinet/tcp_timer.c
Modified: user/andre/tcp_workqueue/sys/netinet/tcp_timer.c
==============================================================================
--- user/andre/tcp_workqueue/sys/netinet/tcp_timer.c Fri Jun 15 07:38:56 2012 (r237120)
+++ user/andre/tcp_workqueue/sys/netinet/tcp_timer.c Fri Jun 15 07:42:44 2012 (r237121)
@@ -577,7 +577,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;
More information about the svn-src-user
mailing list