From 8ff50a25eec845dccf0be8cef5831d490b8b11e0 Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 27 Dec 2015 13:37:14 +0000 Subject: 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. --- sys/netgraph/ng_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph') 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, -- cgit v1.1