[Bridge] [PATCH net] Revert "bridge: do not add port to router list when receives query with source 0.0.0.0"
nikolay at cumulusnetworks.com
Fri Feb 22 16:20:01 UTC 2019
On 22/02/2019 15:22, Hangbin Liu wrote:
> This reverts commit 5a2de63fd1a5 ("bridge: do not add port to router list
> when receives query with source 0.0.0.0") and commit 0fe5119e267f ("net:
> bridge: remove ipv6 zero address check in mcast queries")
> The reason is RFC 4541 is not a standard but suggestive. Currently we
> will elect 0.0.0.0 as Querier if there is no ip address configured on
> bridge. If we do not add the port which recives query with source
> 0.0.0.0 to router list, the IGMP reports will not be about to forward
> to Querier, IGMP data will also not be able to forward to dest.
> As Nikolay suggested, revert this change first and add a boolopt api
> to disable none-zero election in future if needed.
> Reported-by: Linus Lüssing <linus.luessing at c0d3.blue>
> Reported-by: Sebastian Gottschall <s.gottschall at newmedia-net.de>
> Fixes: 5a2de63fd1a5 ("bridge: do not add port to router list when receives query with source 0.0.0.0")
> Fixes: 0fe5119e267f ("net: bridge: remove ipv6 zero address check in mcast queries")
> Signed-off-by: Hangbin Liu <liuhangbin at gmail.com>
> net/bridge/br_multicast.c | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
Thank you. Unfortunately we made a mistake and have to fix compatibility with
the current bridges. As noted in the commit message if this is needed it can
be added as optional behaviour with default off so we don't break any setups.
Acked-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>
More information about the Bridge