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
68c67aa0ed
commit
12d5a1b9ff
@ -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…
x
Reference in New Issue
Block a user