svn commit: r232315 - head/sys/net

Andrew Thompson thompsa at FreeBSD.org
Wed Feb 29 20:58:22 UTC 2012


Author: thompsa
Date: Wed Feb 29 20:58:21 2012
New Revision: 232315
URL: http://svn.freebsd.org/changeset/base/232315

Log:
  Use a more appropriate default for the maximum number of addresses in the
  bridge forwarding table.
  
  PR:		docs/164564
  Discussed with:	brueffer

Modified:
  head/sys/net/if_bridge.c

Modified: head/sys/net/if_bridge.c
==============================================================================
--- head/sys/net/if_bridge.c	Wed Feb 29 20:22:45 2012	(r232314)
+++ head/sys/net/if_bridge.c	Wed Feb 29 20:58:21 2012	(r232315)
@@ -144,10 +144,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-all mailing list