summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov2018-12-05 14:14:26 +0100
committerDavid S. Miller2018-12-06 02:01:51 +0100
commitcf332bca56f4981cad19027f037fb4d661dcb172 (patch)
tree5ef439caa2d1a9cbfa33fa6dad356487f92c49b2 /net/bridge/br_private.h
parentnet: bridge: multicast: use non-bh rcu flavor (diff)
downloadkernel-qcow2-linux-cf332bca56f4981cad19027f037fb4d661dcb172.tar.gz
kernel-qcow2-linux-cf332bca56f4981cad19027f037fb4d661dcb172.tar.xz
kernel-qcow2-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;