Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103800796
D36707.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
723 B
Referenced Files
None
Subscribers
None
D36707.diff
View Options
diff --git a/sys/netinet/cc/cc.c b/sys/netinet/cc/cc.c
--- a/sys/netinet/cc/cc.c
+++ b/sys/netinet/cc/cc.c
@@ -106,6 +106,7 @@
VNET_DEFINE(uint32_t, newreno_beta) = 50;
#define V_newreno_beta VNET(newreno_beta)
+VNET_DEFINE(uint32_t, newreno_beta_ecn) = 80;
void
cc_refer(struct cc_algo *algo)
diff --git a/sys/netinet/cc/cc_newreno.c b/sys/netinet/cc/cc_newreno.c
--- a/sys/netinet/cc/cc_newreno.c
+++ b/sys/netinet/cc/cc_newreno.c
@@ -99,7 +99,7 @@
VNET_DECLARE(uint32_t, newreno_beta);
#define V_newreno_beta VNET(newreno_beta)
-VNET_DEFINE(uint32_t, newreno_beta_ecn) = 80;
+VNET_DECLARE(uint32_t, newreno_beta_ecn);
#define V_newreno_beta_ecn VNET(newreno_beta_ecn)
struct cc_algo newreno_cc_algo = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 3:34 PM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14944170
Default Alt Text
D36707.diff (723 B)
Attached To
Mode
D36707: tcp: allow RACK to be loaded when cc_newreno is not compiled into the kernel
Attached
Detach File
Event Timeline
Log In to Comment