Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162893463
D28634.id83796.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
968 B
Referenced Files
None
Subscribers
None
D28634.id83796.diff
View Options
Index: sys/netinet/tcp_input.c
===================================================================
--- sys/netinet/tcp_input.c
+++ sys/netinet/tcp_input.c
@@ -2566,6 +2566,7 @@
*/
if (th->th_ack != tp->snd_una ||
((tp->t_flags & TF_SACK_PERMIT) &&
+ (to.to_flags & TOF_SACK) &&
!sack_changed))
break;
else if (!tcp_timer_active(tp, TT_REXMT))
@@ -2626,6 +2627,7 @@
tp->sackhint.sack_bytes_rexmit +
(snd_cnt * maxseg);
} else if ((tp->t_flags & TF_SACK_PERMIT) &&
+ (to.to_flags & TOF_SACK) &&
IN_FASTRECOVERY(tp->t_flags)) {
int awnd;
@@ -2689,7 +2691,8 @@
tp->sackhint.recover_fs = max(1,
tp->snd_nxt - tp->snd_una);
}
- if (tp->t_flags & TF_SACK_PERMIT) {
+ if ((tp->t_flags & TF_SACK_PERMIT) &&
+ (to.to_flags & TOF_SACK)) {
TCPSTAT_INC(
tcps_sack_recovery_episode);
tp->snd_recover = tp->snd_nxt;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 2:11 AM (11 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35214560
Default Alt Text
D28634.id83796.diff (968 B)
Attached To
Mode
D28634: Deal with DupACKs of SACK session with missing SACK Blocks
Attached
Detach File
Event Timeline
Log In to Comment