diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-06-09 21:55:28 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-06-09 21:55:28 +0000 |
commit | 9bc55ad7bd8471d94bf7a28524a806690c754472 (patch) | |
tree | 2be7fc195bb5593f8677e134a5f5dac1dd80c563 /sys/net/flowtable.c | |
parent | 15dd648e3f5a46528efaebd446a54f6abba24c45 (diff) | |
download | FreeBSD-src-9bc55ad7bd8471d94bf7a28524a806690c754472.zip FreeBSD-src-9bc55ad7bd8471d94bf7a28524a806690c754472.tar.gz |
revert to opt-in flowtable
Diffstat (limited to 'sys/net/flowtable.c')
-rw-r--r-- | sys/net/flowtable.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c index 14c07ca..6edc6ab 100644 --- a/sys/net/flowtable.c +++ b/sys/net/flowtable.c @@ -33,7 +33,6 @@ POSSIBILITY OF SUCH DAMAGE. #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef NO_FLOWTABLE #include <sys/param.h> #include <sys/types.h> #include <sys/bitstring.h> @@ -188,7 +187,7 @@ static uma_zone_t ipv6_zone; * - support explicit connection state (currently only ad-hoc for DSR) */ SYSCTL_NODE(_net_inet, OID_AUTO, flowtable, CTLFLAG_RD, NULL, "flowtable"); -int flowtable_enable = 0; +int flowtable_enable = 1; SYSCTL_INT(_net_inet_flowtable, OID_AUTO, enable, CTLFLAG_RW, &flowtable_enable, 0, "enable flowtable caching."); static int flowtable_hits = 0; @@ -930,4 +929,4 @@ static struct kproc_desc flow_kp = { &flowcleanerproc }; SYSINIT(flowcleaner, SI_SUB_KTHREAD_IDLE, SI_ORDER_ANY, kproc_start, &flow_kp); -#endif /* NO_FLOWTABLE */ + |