svn commit: r292770 - stable/10/sys/netgraph

Julian Elischer julian at FreeBSD.org
Sun Dec 27 13:37:16 UTC 2015


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,


More information about the svn-src-all mailing list