Page MenuHomeFreeBSD

D2970.diff
No OneTemporary

D2970.diff

diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1681,8 +1681,13 @@
tp->sackhint.sack_bytes_rexmit -= len;
KASSERT(tp->sackhint.sack_bytes_rexmit >= 0,
("sackhint bytes rtx >= 0"));
- } else
+ KASSERT((flags & TH_FIN) == 0,
+ ("error while FIN with SACK rxmit"));
+ } else {
tp->snd_nxt -= len;
+ if (flags & TH_FIN)
+ tp->snd_nxt--;
+ }
}
SOCKBUF_UNLOCK_ASSERT(&so->so_snd); /* Check gotos. */
switch (error) {

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 7:47 AM (20 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15792414
Default Alt Text
D2970.diff (551 B)

Event Timeline