Revise default limit for maximum of netgraph data items.
With modern internet speeds the limit can be reached even on a single L2TP link.
This commit is contained in:
parent
18f4d1079e
commit
8d8e595eb0
@ -2952,7 +2952,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 */
|
||||
|
||||
SYSCTL_INT(_net_graph, OID_AUTO, threads, CTLFLAG_RDTUN, &numthreads,
|
||||
0, "Number of queue processing threads");
|
||||
|
Loading…
x
Reference in New Issue
Block a user