Fix an ininitialized variable that the MIPS compiler caught (but the

SPARC, Alpha, Arm, and i386 compilers missed).
This commit is contained in:
thorpej 1999-05-03 23:30:27 +00:00
parent a40dff106e
commit 3faa72bd56
1 changed files with 2 additions and 1 deletions

View File

@ -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 @@ syn_cache_timer()
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);