diff options
author | julian <julian@FreeBSD.org> | 2015-12-27 13:37:14 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2015-12-27 13:37:14 +0000 |
commit | 8ff50a25eec845dccf0be8cef5831d490b8b11e0 (patch) | |
tree | babcb56de66510ed8413241eeaa3957566aa5960 /sys/netgraph | |
parent | 6e67341ec386823edc36829422bb329dc0d8c00c (diff) | |
download | FreeBSD-src-8ff50a25eec845dccf0be8cef5831d490b8b11e0.zip FreeBSD-src-8ff50a25eec845dccf0be8cef5831d490b8b11e0.tar.gz |
MFH: r278640
Revise default limit for maximum of netgraph data items.
With modern internet speeds the limit can be reached even
on a single L2TP link.
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/ng_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index f40ebbe..cc2d2d6 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -2947,7 +2947,7 @@ uma_zone_t ng_qzone; uma_zone_t ng_qdzone; static int numthreads = 0; /* number of queue threads */ static int maxalloc = 4096;/* limit the damage of a leak */ -static int maxdata = 512; /* limit the damage of a DoS */ +static int maxdata = 4096; /* limit the damage of a DoS */ TUNABLE_INT("net.graph.threads", &numthreads); SYSCTL_INT(_net_graph, OID_AUTO, threads, CTLFLAG_RDTUN, &numthreads, |