Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167257000
D34181.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
D34181.diff
View Options
diff --git a/sys/netinet/tcp_ecn.c b/sys/netinet/tcp_ecn.c
--- a/sys/netinet/tcp_ecn.c
+++ b/sys/netinet/tcp_ecn.c
@@ -114,7 +114,7 @@
if (((thflags & (TH_CWR | TH_ECE)) == TH_ECE) &&
V_tcp_do_ecn) {
tp->t_flags2 |= TF2_ECN_PERMIT;
- KMOD_TCPSTAT_INC(tcps_ecn_shs);
+ TCPSTAT_INC(tcps_ecn_shs);
}
}
@@ -133,7 +133,7 @@
if ((thflags & (TH_CWR | TH_ECE)) == (TH_CWR | TH_ECE)) {
tp->t_flags2 |= TF2_ECN_PERMIT;
tp->t_flags2 |= TF2_ECN_SND_ECE;
- KMOD_TCPSTAT_INC(tcps_ecn_shs);
+ TCPSTAT_INC(tcps_ecn_shs);
}
}
}
@@ -149,13 +149,13 @@
if (tp->t_flags2 & TF2_ECN_PERMIT) {
switch (iptos & IPTOS_ECN_MASK) {
case IPTOS_ECN_CE:
- KMOD_TCPSTAT_INC(tcps_ecn_ce);
+ TCPSTAT_INC(tcps_ecn_ce);
break;
case IPTOS_ECN_ECT0:
- KMOD_TCPSTAT_INC(tcps_ecn_ect0);
+ TCPSTAT_INC(tcps_ecn_ect0);
break;
case IPTOS_ECN_ECT1:
- KMOD_TCPSTAT_INC(tcps_ecn_ect1);
+ TCPSTAT_INC(tcps_ecn_ect1);
break;
}
@@ -216,7 +216,7 @@
!((tp->t_flags & TF_FORCEDATA) && len == 1));
if (newdata) {
ipecn = IPTOS_ECN_ECT0;
- KMOD_TCPSTAT_INC(tcps_ecn_ect0);
+ TCPSTAT_INC(tcps_ecn_ect0);
}
/*
* Reply with proper ECN notifications.
@@ -286,7 +286,7 @@
switch (sc->sc_flags & SCF_ECN) {
case SCF_ECN:
thflags |= (0 | TH_ECE);
- KMOD_TCPSTAT_INC(tcps_ecn_shs);
+ TCPSTAT_INC(tcps_ecn_shs);
break;
/* undefined SCF codepoint */
default:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 21, 10:34 AM (15 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37028963
Default Alt Text
D34181.diff (1 KB)
Attached To
Mode
D34181: change KMOD_TCPSTAT_INC to TCPSTAT_INC in kernel ecn functions
Attached
Detach File
Event Timeline
Log In to Comment