Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107380053
D2970.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
551 B
Referenced Files
None
Subscribers
None
D2970.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2970: Undo the increase in sequence number by 1 due to the FIN flag in case of a transient error.
Attached
Detach File
Event Timeline
Log In to Comment