PERFORCE change 164431 for review
Fang Wang
fangwang at FreeBSD.org
Mon Jun 15 16:24:43 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164431
Change 164431 by fangwang at fangwang_utobsd on 2009/06/15 16:24:29
Fix compile error.
Affected files ...
.. //depot/projects/soc2009/tcputo/src/sys/netinet/tcp_syncache.c#5 edit
.. //depot/projects/soc2009/tcputo/src/sys/netinet/tcp_timer.c#4 edit
Differences ...
==== //depot/projects/soc2009/tcputo/src/sys/netinet/tcp_syncache.c#5 (text+ko) ====
@@ -1398,7 +1398,7 @@
}
optlen = tcp_addoptions(&to, (u_char *)(th + 1));
- if ((to->to_flags & TOF_UTO) == 0 &&
+ if ((to.to_flags & TOF_UTO) == 0 &&
(sc->sc_flags & SCF_UTO) == 1) {
sc->sc_flags &= ~SCF_UTO;
sc->sc_flags |= SCF_SENT_UTO;
==== //depot/projects/soc2009/tcputo/src/sys/netinet/tcp_timer.c#4 (text+ko) ====
@@ -512,7 +512,7 @@
* to a longer retransmit interval and retransmit one segment.
*/
if ((++tp->t_rxtshift > TCP_MAXRXTSHIFT && (tp->uto_flags & TCPUTO_IMPL) == 0) ||
- (tp->t_uto_left == 0 && tp->uto_flags & TCPUTO_IMPL) {
+ (tp->t_uto_left == 0 && tp->uto_flags & TCPUTO_IMPL)) {
tp->t_rxtshift = TCP_MAXRXTSHIFT;
TCPSTAT_INC(tcps_timeoutdrop);
tp = tcp_drop(tp, tp->t_softerror ?
More information about the p4-projects
mailing list