Skip to content

Commit

Permalink
net: bridge: mcast: don't ignore return value of __grp_src_toex_excl
Browse files Browse the repository at this point in the history
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: 5bf1e00 ("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>
  • Loading branch information
Nikolay Aleksandrov authored and David S. Miller committed Sep 17, 2020
1 parent aa042f6 commit d5bf31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d5bf31d

Please sign in to comment.