Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106950158
D22670.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1015 B
Referenced Files
None
Subscribers
None
D22670.diff
View Options
Index: head/sys/netinet/tcp_input.c
===================================================================
--- head/sys/netinet/tcp_input.c
+++ head/sys/netinet/tcp_input.c
@@ -1545,8 +1545,10 @@
* TCP ECN processing.
*/
if (tp->t_flags2 & TF2_ECN_PERMIT) {
- if (thflags & TH_CWR)
+ if (thflags & TH_CWR) {
tp->t_flags2 &= ~TF2_ECN_SND_ECE;
+ tp->t_flags |= TF_ACKNOW;
+ }
switch (iptos & IPTOS_ECN_MASK) {
case IPTOS_ECN_CE:
tp->t_flags2 |= TF2_ECN_SND_ECE;
Index: head/sys/netinet/tcp_stacks/rack.c
===================================================================
--- head/sys/netinet/tcp_stacks/rack.c
+++ head/sys/netinet/tcp_stacks/rack.c
@@ -7701,8 +7701,10 @@
* this to occur after we've validated the segment.
*/
if (tp->t_flags2 & TF2_ECN_PERMIT) {
- if (thflags & TH_CWR)
+ if (thflags & TH_CWR) {
tp->t_flags2 &= ~TF2_ECN_SND_ECE;
+ tp->t_flags |= TF_ACKNOW;
+ }
switch (iptos & IPTOS_ECN_MASK) {
case IPTOS_ECN_CE:
tp->t_flags2 |= TF2_ECN_SND_ECE;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 11:06 PM (3 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15727201
Default Alt Text
D22670.diff (1015 B)
Attached To
Mode
D22670: Send immediate ACK on receipt of CWR
Attached
Detach File
Event Timeline
Log In to Comment