mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix a byte ordering issue for the advertised receiver window in ACK
segments sent in TIMEWAIT state, which I introduced in r336937. MFC after: 3 days Sponsored by: Netflix, Inc.
This commit is contained in:
parent
1357a3bc19
commit
e82fdca156
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ tcp_twstart(struct tcpcb *tp)
|
|||
if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt) &&
|
||||
recwin < (tp->rcv_adv - tp->rcv_nxt))
|
||||
recwin = (tp->rcv_adv - tp->rcv_nxt);
|
||||
tw->last_win = htons((u_short)(recwin >> tp->rcv_scale));
|
||||
tw->last_win = (u_short)(recwin >> tp->rcv_scale);
|
||||
|
||||
/*
|
||||
* Set t_recent if timestamps are used on the connection.
|
||||
|
|
|
|||
Loading…
Reference in a new issue