]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: bridge: mark hash_elasticity as obsolete
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 5 Dec 2018 13:14:26 +0000 (15:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Dec 2018 01:01:51 +0000 (17:01 -0800)
commitcf332bca56f4981cad19027f037fb4d661dcb172
tree5ef439caa2d1a9cbfa33fa6dad356487f92c49b2
parent4329596cb10d23c9e22c78e676a3667ef28ed62f
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>
net/bridge/br_multicast.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_sysfs_br.c