tcp: make RACK loadable again using the default configuration
Without this patch, loading the RACK stack required the newreno CC module to be compiled into the kernel. This is not the case anymore since CUBIC is the default now. Reviewed by: rscheff@ Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D36707
This commit is contained in:
parent
977d8fb9ad
commit
0fdc247274
@ -106,6 +106,7 @@ VNET_DEFINE(struct cc_algo *, default_cc_ptr) = NULL;
|
||||
|
||||
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)
|
||||
|
@ -99,7 +99,7 @@ static size_t newreno_data_sz(void);
|
||||
|
||||
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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user