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: 5bf1e00b68 ("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>
This commit is contained in:
Nikolay Aleksandrov 2020-09-15 17:57:24 +03:00 committed by David S. Miller
parent aa042f60e4
commit d5bf31ddd8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}