mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Correctly calculate snd_max in persist case.
In the persist case, take the SYN and FIN flags into account when updating the sequence space sent. Reviewed by: gnn MFC after: 2 weeks Sponsored by: Juniper Networks, Netflix Differential Revision: https://reviews.freebsd.org/D7075 Tested by: Limelight, Netflix
This commit is contained in:
parent
55a429a6dc
commit
15c825712e
1 changed files with 1 additions and 1 deletions
|
|
@ -1519,7 +1519,7 @@ timer:
|
|||
tp->t_flags |= TF_SENTFIN;
|
||||
}
|
||||
if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max))
|
||||
tp->snd_max = tp->snd_nxt + len;
|
||||
tp->snd_max = tp->snd_nxt + xlen;
|
||||
}
|
||||
|
||||
if (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue