Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150444138
D36046.id108892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36046.id108892.diff
View Options
Index: sys/netinet/tcp_input.c
===================================================================
--- sys/netinet/tcp_input.c
+++ sys/netinet/tcp_input.c
@@ -2563,7 +2563,8 @@
*/
if (th->th_ack != tp->snd_una ||
((tp->t_flags & TF_SACK_PERMIT) &&
- (to.to_flags & TOF_SACK) &&
+ ((to.to_flags & TOF_SACK) ||
+ (!TAILQ_EMPTY(&tp->snd_holes))) &&
!sack_changed))
break;
else if (!tcp_timer_active(tp, TT_REXMT))
@@ -2576,7 +2577,8 @@
IN_FASTRECOVERY(tp->t_flags)) {
tcp_do_prr_ack(tp, th, &to);
} else if ((tp->t_flags & TF_SACK_PERMIT) &&
- (to.to_flags & TOF_SACK) &&
+ ((to.to_flags & TOF_SACK) ||
+ (!TAILQ_EMPTY(&tp->snd_holes))) &&
IN_FASTRECOVERY(tp->t_flags)) {
int awnd;
@@ -2650,7 +2652,8 @@
* cc_cong_signal.
*/
if ((tp->t_flags & TF_SACK_PERMIT) &&
- (to.to_flags & TOF_SACK)) {
+ ((to.to_flags & TOF_SACK) ||
+ (!TAILQ_EMPTY(&tp->snd_holes)))) {
tp->sackhint.prr_delivered =
tp->sackhint.sacked_bytes;
} else {
@@ -2663,7 +2666,8 @@
tp->snd_nxt - tp->snd_una);
}
if ((tp->t_flags & TF_SACK_PERMIT) &&
- (to.to_flags & TOF_SACK)) {
+ ((to.to_flags & TOF_SACK) ||
+ (!TAILQ_EMPTY(&tp->snd_holes)))) {
TCPSTAT_INC(
tcps_sack_recovery_episode);
tp->snd_recover = tp->snd_nxt;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 6:28 AM (2 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30711816
Default Alt Text
D36046.id108892.diff (1 KB)
Attached To
Mode
D36046: Keep doing SACK loss recovery when ACKs suddenly lack SACK blocks
Attached
Detach File
Event Timeline
Log In to Comment