Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109848876
D43170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
655 B
Referenced Files
None
Subscribers
None
D43170.diff
View Options
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -483,6 +483,7 @@
/* XXXLAS: EXIT_RECOVERY ? */
tp->t_bytes_acked = 0;
tp->sackhint.delivered_data = 0;
+ tp->sackhint.prr_delivered = 0;
tp->sackhint.prr_out = 0;
}
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
@@ -1663,6 +1663,8 @@
if (flags & TH_FIN)
tp->snd_nxt--;
}
+ if (IN_RECOVERY(tp->t_flags))
+ tp->sackhint.prr_out -= len;
}
SOCKBUF_UNLOCK_ASSERT(&so->so_snd); /* Check gotos. */
switch (error) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 7:51 AM (2 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16591274
Default Alt Text
D43170.diff (655 B)
Attached To
Mode
D43170: tcp: clean PRR state after ECN congestion recovery.
Attached
Detach File
Event Timeline
Log In to Comment