Move initialization of snd_recover into tcp_sendseqinit().
This commit is contained in:
parent
b2b66c0537
commit
c41580e9ad
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user