Move initialization of snd_recover into tcp_sendseqinit().

This commit is contained in:
jlemon 2001-11-21 18:45:51 +00:00
parent b2b66c0537
commit c41580e9ad
3 changed files with 1 additions and 3 deletions

View File

@ -1139,7 +1139,6 @@ tcp_input(m, off0)
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,

View File

@ -1139,7 +1139,6 @@ tcp_input(m, off0)
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,

View File

@ -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 */