Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Fix an ininitialized variable that the MIPS comp...



details:   https://anonhg.NetBSD.org/src/rev/3f188370ab7f
branches:  trunk
changeset: 472632:3f188370ab7f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon May 03 23:30:27 1999 +0000

description:
Fix an ininitialized variable that the MIPS compiler caught (but the
SPARC, Alpha, Arm, and i386 compilers missed).

diffstat:

 sys/netinet/tcp_input.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r edf8ab6b875b -r 3f188370ab7f sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Mon May 03 22:12:44 1999 +0000
+++ b/sys/netinet/tcp_input.c   Mon May 03 23:30:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.80 1999/04/29 03:54:22 thorpej Exp $   */
+/*     $NetBSD: tcp_input.c,v 1.81 1999/05/03 23:30:27 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -2055,6 +2055,7 @@
        for (sc = TAILQ_FIRST(&tcp_syn_cache_timeq[TCP_MAXRXTSHIFT]);
             sc != NULL && PRT_SLOW_ISEXPIRED(sc->sc_rexmt);
             sc = nsc) {
+               nsc = TAILQ_NEXT(sc, sc_timeq);
                tcpstat.tcps_sc_timed_out++;
                SYN_CACHE_RM(sc);
                SYN_CACHE_PUT(sc);



Home | Main Index | Thread Index | Old Index