summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_multicast.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2020-09-15 16:57:24 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-17 02:13:25 +0200
commitd5bf31ddd8b21d2aa0af2500ff4fcda068ad50c7 (patch)
tree11cbfbf935e1f04a91a159acd20d5e25a1ed7d7e /net/bridge/br_multicast.c
parentnet: stmmac: Add support to Ethtool get/set ring parameters (diff)
downloadlinux-d5bf31ddd8b21d2aa0af2500ff4fcda068ad50c7.tar.xz
linux-d5bf31ddd8b21d2aa0af2500ff4fcda068ad50c7.zip
net: bridge: mcast: don't ignore return value of __grp_src_toex_excl
When we're handling TO_EXCLUDE report in EXCLUDE filter mode we should not ignore the return value of __grp_src_toex_excl() as we'll miss sending notifications about group changes. Fixes: 5bf1e00b6849 ("net: bridge: mcast: support for IGMPV3/MLDv2 CHANGE_TO_INCLUDE/EXCLUDE report") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/bridge/br_multicast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index 33adf44ef7ec..e77f1e27caf7 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -1710,7 +1710,7 @@ static bool br_multicast_toex(struct net_bridge_port_group *pg,
changed = true;
break;
case MCAST_EXCLUDE:
- __grp_src_toex_excl(pg, srcs, nsrcs, src_size);
+ changed = __grp_src_toex_excl(pg, srcs, nsrcs, src_size);
break;
}