aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_device.c
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-09-23 08:39:16 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-23 14:35:58 -0700
commita79e88d9fbbe2e3ecb9d883fb59dca7468d42d79 (patch)
tree11f8eb0cff1df3e63179f09a9503c8a0ce779323 /net/bridge/br_device.c
parentrocker: store rocker_port in fdb key rather than pport (diff)
downloadlinux-dev-a79e88d9fbbe2e3ecb9d883fb59dca7468d42d79.tar.xz
linux-dev-a79e88d9fbbe2e3ecb9d883fb59dca7468d42d79.zip
bridge: define some min/max/default ageing time constants
Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r--net/bridge/br_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index 6ed2feb51e3c..2f81624a8257 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -391,7 +391,7 @@ void br_dev_setup(struct net_device *dev)
br->bridge_max_age = br->max_age = 20 * HZ;
br->bridge_hello_time = br->hello_time = 2 * HZ;
br->bridge_forward_delay = br->forward_delay = 15 * HZ;
- br->ageing_time = 300 * HZ;
+ br->ageing_time = BR_DEFAULT_AGEING_TIME;
br_netfilter_rtable_init(br);
br_stp_timer_init(br);