Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177300959
D29970.1794111022.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
742 B
Referenced Files
None
Subscribers
None
D29970.1794111022.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
@@ -506,6 +506,7 @@
}
/* XXXLAS: EXIT_RECOVERY ? */
tp->t_bytes_acked = 0;
+ tp->sackhint.delivered_data = 0;
tp->sackhint.prr_out = 0;
}
diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c
--- a/sys/netinet/tcp_sack.c
+++ b/sys/netinet/tcp_sack.c
@@ -872,9 +872,11 @@
tcp_seq highdata = tp->snd_max;
if (tp->t_flags & TF_SENTFIN)
highdata--;
- if (th->th_ack != highdata)
+ if (th->th_ack != highdata) {
+ tp->snd_fack = th->th_ack;
(void)tcp_sackhole_insert(tp, SEQ_MAX(th->th_ack,
highdata - maxseg), highdata, NULL);
+ }
}
(void) tp->t_fb->tfb_tcp_output(tp);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 8, 4:10 AM (2 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41566847
Default Alt Text
D29970.1794111022.diff (742 B)
Attached To
Mode
D29970: tcp: stop spurious rescue retransmissions
Attached
Detach File
Event Timeline