svn commit: r233086 - stable/7/sys/net

Christian Brueffer brueffer at FreeBSD.org
Sat Mar 17 12:24:17 UTC 2012


Author: brueffer
Date: Sat Mar 17 12:24:17 2012
New Revision: 233086
URL: http://svn.freebsd.org/changeset/base/233086

Log:
  MFC: r232315
  
  Use a more appropriate default for the maximum number of addresses in the
  bridge forwarding table.

Modified:
  stable/7/sys/net/if_bridge.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/net/if_bridge.c
==============================================================================
--- stable/7/sys/net/if_bridge.c	Sat Mar 17 12:15:35 2012	(r233085)
+++ stable/7/sys/net/if_bridge.c	Sat Mar 17 12:24:17 2012	(r233086)
@@ -142,10 +142,10 @@ __FBSDID("$FreeBSD$");
 #define	BRIDGE_RTHASH_MASK		(BRIDGE_RTHASH_SIZE - 1)
 
 /*
- * Maximum number of addresses to cache.
+ * Default maximum number of addresses to cache.
  */
 #ifndef BRIDGE_RTABLE_MAX
-#define	BRIDGE_RTABLE_MAX		100
+#define	BRIDGE_RTABLE_MAX		2000
 #endif
 
 /*


More information about the svn-src-stable-7 mailing list