Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102795662
D18996.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
867 B
Referenced Files
None
Subscribers
None
D18996.diff
View Options
Index: head/sys/netinet/tcp_input.c
===================================================================
--- head/sys/netinet/tcp_input.c
+++ head/sys/netinet/tcp_input.c
@@ -2010,7 +2010,8 @@
else
tp->t_flags |= TF_ACKNOW;
- if ((thflags & TH_ECE) && V_tcp_do_ecn) {
+ if (((thflags & (TH_CWR | TH_ECE)) == TH_ECE) &&
+ V_tcp_do_ecn) {
tp->t_flags |= TF_ECN_PERMIT;
TCPSTAT_INC(tcps_ecn_shs);
}
Index: head/sys/netinet/tcp_stacks/rack.c
===================================================================
--- head/sys/netinet/tcp_stacks/rack.c
+++ head/sys/netinet/tcp_stacks/rack.c
@@ -5233,7 +5233,8 @@
tp->t_flags |= TF_ACKNOW;
}
- if ((thflags & TH_ECE) && V_tcp_do_ecn) {
+ if (((thflags & (TH_CWR | TH_ECE)) == TH_ECE) &&
+ V_tcp_do_ecn) {
tp->t_flags |= TF_ECN_PERMIT;
TCPSTAT_INC(tcps_ecn_shs);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 7:28 AM (20 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14686517
Default Alt Text
D18996.diff (867 B)
Attached To
Mode
D18996: Disallow broken ECN TCP stacks from using ECN
Attached
Detach File
Event Timeline
Log In to Comment