bridge: allow setting hash_max value
authorLinus Lüssing <linus.luessing@c0d3.blue>
Tue, 26 May 2015 19:49:11 +0000 (21:49 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 27 May 2015 15:02:41 +0000 (17:02 +0200)
commit6b74746cbf12d5b8421f68e99a4139abacec924b
treeae5ec7a9090abf990148f6a7166b36e5d06ab12c
parent5990d1126fd33665e106508ebcbadfbb2d703d8e
bridge: allow setting hash_max value

If the number of entries in the MDB exceeds hash_max then the
multicast snooping capabilities of the bridge are disabled
automatically.

The default value for hash_max is 512 which is already exceeded by some
wireless community mesh networks. They need to be able to set a higher
value.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
bridge.c
system-linux.c
system.h