Date: Sun, 27 Dec 2015 13:37:14 +0000 (UTC) From: Julian Elischer <julian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r292770 - stable/10/sys/netgraph Message-ID: <201512271337.tBRDbEh4058356@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: julian Date: Sun Dec 27 13:37:14 2015 New Revision: 292770 URL: https://svnweb.freebsd.org/changeset/base/292770 Log: 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. Modified: stable/10/sys/netgraph/ng_base.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/netgraph/ng_base.c ============================================================================== --- stable/10/sys/netgraph/ng_base.c Sun Dec 27 11:12:09 2015 (r292769) +++ stable/10/sys/netgraph/ng_base.c Sun Dec 27 13:37:14 2015 (r292770) @@ -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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512271337.tBRDbEh4058356>