summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2012-02-29 20:58:21 +0000
committerthompsa <thompsa@FreeBSD.org>2012-02-29 20:58:21 +0000
commit395d5a3c1d32501545a2595b46b0ce0168bbad3d (patch)
tree5eeacfa58417afab8f82a57a7910a8cb29cd91ce /sys/net
parent7c3c126a078fb7613635087eb011ed0ff4b0d7a9 (diff)
downloadFreeBSD-src-395d5a3c1d32501545a2595b46b0ce0168bbad3d.zip
FreeBSD-src-395d5a3c1d32501545a2595b46b0ce0168bbad3d.tar.gz
Use a more appropriate default for the maximum number of addresses in the
bridge forwarding table. PR: docs/164564 Discussed with: brueffer
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index bf00cb4..a25f648 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -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
/*
OpenPOWER on IntegriCloud