Fix the ifdefs in tcp_ratelimit.h. They were reversed so
that instead of functions only being inside the _KERNEL and the absence of RATELIMIT causing us to have NULL/error returning interfaces we ended up with non-kernel getting the error path. opps..
This commit is contained in:
parent
c9205e3500
commit
2f1cc984db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352659
@ -87,8 +87,8 @@ CK_LIST_HEAD(head_tcp_rate_set, tcp_rate_set);
|
||||
#define RS_PACING_LT 0x0008 /* Less than requested rate */
|
||||
#define RS_PACING_SUB_OK 0x0010 /* If a rate can't be found get the
|
||||
* next best rate (highest or lowest). */
|
||||
#ifdef RATELIMIT
|
||||
#ifdef _KERNEL
|
||||
#ifdef RATELIMIT
|
||||
#define DETAILED_RATELIMIT_SYSCTL 1 /*
|
||||
* Undefine this if you don't want
|
||||
* detailed rates to appear in
|
||||
|
Loading…
Reference in New Issue
Block a user