mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 05:49:27 +00:00
Fix oops in my last commit, I was calculating a new length but then not
using it. (The code is already correct in -stable). Found by: silby
This commit is contained in:
parent
f371d460e6
commit
abac41a659
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105291
@ -844,7 +844,7 @@ send:
|
||||
++xlen;
|
||||
tp->t_flags |= TF_SENTFIN;
|
||||
}
|
||||
if (SEQ_GT(tp->snd_nxt + len, tp->snd_max))
|
||||
if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max))
|
||||
tp->snd_max = tp->snd_nxt + len;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user