David Miller
2018-Oct-03 05:27 UTC
[Bridge] [PATCH net-next] bridge: mcast: Default back to multicast enabled state
From: Ido Schimmel <idosch at mellanox.com> Date: Mon, 1 Oct 2018 11:57:01 +0300> 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 at mellanox.com>Applied.