summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2018-12-05 15:14:26 +0200
committerDavid S. Miller <davem@davemloft.net>2018-12-05 17:01:51 -0800
commitcf332bca56f4981cad19027f037fb4d661dcb172 (patch)
tree5ef439caa2d1a9cbfa33fa6dad356487f92c49b2 /net/bridge/br_private.h
parent4329596cb10d23c9e22c78e676a3667ef28ed62f (diff)
downloadlinux-cf332bca56f4981cad19027f037fb4d661dcb172.tar.gz
linux-cf332bca56f4981cad19027f037fb4d661dcb172.tar.bz2
linux-cf332bca56f4981cad19027f037fb4d661dcb172.zip
net: bridge: mark hash_elasticity as obsolete
Now that the bridge multicast uses the generic rhashtable interface we can drop the hash_elasticity option as that is already done for us and it's hardcoded to a maximum of RHT_ELASTICITY (16 currently). Add a warning about the obsolete option when the hash_elasticity is set. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index cf1f7365deb3..ba50fa437a94 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -372,7 +372,6 @@ struct net_bridge {
#ifdef CONFIG_BRIDGE_IGMP_SNOOPING
- u32 hash_elasticity;
u32 hash_max;
u32 multicast_last_member_count;