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,
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to