]> asedeno.scripts.mit.edu Git - linux.git/commit
bridge: mcast: Default back to multicast enabled state
authorIdo Schimmel <idosch@mellanox.com>
Mon, 1 Oct 2018 08:57:01 +0000 (11:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2018 05:27:36 +0000 (22:27 -0700)
commit6919622af3a8d92ee73886ebfe22c69ecf4c650c
treec403e945b6af1eae219eefeb95705b9fc83be372
parent42fac7bd0c6863fc2c71effa07b58751f4f4b85c
bridge: mcast: Default back to multicast enabled state

Commit 13cefad2f2c1 ("net: bridge: convert and rename mcast disabled")
converted the 'multicast_disabled' field to an option bit named
'BROPT_MULTICAST_ENABLED'.

While the old field was implicitly initialized to 0, the new field is
not initialized, resulting in the bridge defaulting to multicast
disabled state and breaking existing applications.

Fix this by explicitly initializing the option.

Fixes: 13cefad2f2c1 ("net: bridge: convert and rename mcast disabled")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c