Date: Sat, 17 Mar 2012 12:24:17 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r233086 - stable/7/sys/net Message-ID: <201203171224.q2HCOH1n069740@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203171224.q2HCOH1n069740>