summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2001-08-22 00:58:16 +0000
committerMike Silbersack <silby@FreeBSD.org>2001-08-22 00:58:16 +0000
commitb0e3ad758b73f9e17c30f8c0cb60a7fcc4b52987 (patch)
tree3b00e220029de2166baf4b0e693035bb7d8a5842 /sys/netinet/tcp_input.c
parent3d6fde76ed8a05fa335fdf605bdaad091a54f268 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 37b649288e5d..a49c07d43c70 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -101,7 +101,6 @@ struct tcphdr tcp_savetcp;
MALLOC_DEFINE(M_TSEGQ, "tseg_qent", "TCP segment queue entry");
static int tcprexmtthresh = 3;
-tcp_seq tcp_iss;
tcp_cc tcp_ccgen;
struct tcpstat tcpstat;
@@ -1135,7 +1134,7 @@ findpcb:
if (iss)
tp->iss = iss;
else {
- tp->iss = tcp_new_isn();
+ tp->iss = tcp_new_isn(tp);
}
tp->irs = th->th_seq;
tcp_sendseqinit(tp);
@@ -1667,7 +1666,7 @@ trimthenstep6:
if (thflags & TH_SYN &&
tp->t_state == TCPS_TIME_WAIT &&
SEQ_GT(th->th_seq, tp->rcv_nxt)) {
- iss = tcp_new_isn();
+ iss = tcp_new_isn(tp);
tp = tcp_close(tp);
goto findpcb;
}