diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-11-21 18:45:51 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-11-21 18:45:51 +0000 |
commit | c41580e9addbdb6bb5d194f56f3aa8f99db39808 (patch) | |
tree | 93d856e5c84d50cad3a65577232d84d68b025dcc /sys | |
parent | b2b66c0537ee9de505fa8ccbe7974435afed26db (diff) | |
download | FreeBSD-src-c41580e9addbdb6bb5d194f56f3aa8f99db39808.zip FreeBSD-src-c41580e9addbdb6bb5d194f56f3aa8f99db39808.tar.gz |
Move initialization of snd_recover into tcp_sendseqinit().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_input.c | 1 | ||||
-rw-r--r-- | sys/netinet/tcp_reass.c | 1 | ||||
-rw-r--r-- | sys/netinet/tcp_seq.h | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index baa972d..7ab594e 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1139,7 +1139,6 @@ findpcb: tp->irs = th->th_seq; tcp_sendseqinit(tp); tcp_rcvseqinit(tp); - tp->snd_recover = tp->snd_una; /* * Initialization of the tcpcb for transaction; * set SND.WND = SEG.WND, diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index baa972d..7ab594e 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -1139,7 +1139,6 @@ findpcb: tp->irs = th->th_seq; tcp_sendseqinit(tp); tcp_rcvseqinit(tp); - tp->snd_recover = tp->snd_una; /* * Initialization of the tcpcb for transaction; * set SND.WND = SEG.WND, diff --git a/sys/netinet/tcp_seq.h b/sys/netinet/tcp_seq.h index c1d36d3..5850ccc 100644 --- a/sys/netinet/tcp_seq.h +++ b/sys/netinet/tcp_seq.h @@ -73,7 +73,7 @@ #define tcp_sendseqinit(tp) \ (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \ - (tp)->iss + (tp)->snd_recover = (tp)->iss #define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * hz) /* timestamp wrap-around time */ |