mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Move initialization of snd_recover into tcp_sendseqinit().
This commit is contained in:
parent
75595bf1eb
commit
d00fd2011d
3 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 a new issue