Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432691

Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address
Date 2016-06-28 11:50 +0200
Message-ID <rOXOy-593-5@gated-at.bofh.it> (permalink)
References <rNx06-6Zi-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Daniel Danzberger <daniel@dd-wrt.com>
Date: Fri, 24 Jun 2016 12:35:18 +0200

> The bridge is falsly dropping ipv6 mulitcast packets if there is:
>  1. No ipv6 address assigned on the brigde.
>  2. No external mld querier present.
>  3. The internal querier enabled.
> 
> When the bridge fails to build mld queries, because it has no
> ipv6 address, it slilently returns, but keeps the local querier enabled.
> This specific case causes confusing packet loss.
> 
> Ipv6 multicast snooping can only work if:
>  a) An external querier is present
>  OR
>  b) The bridge has an ipv6 address an is capable of sending own queries
> 
> Otherwise it has to forward/flood the ipv6 multicast traffic,
> because snooping cannot work.
> 
> This patch fixes the issue by adding a flag to the bridge struct that
> indicates that there is currently no ipv6 address assinged to the bridge
> and returns a false state for the local querier in
> __br_multicast_querier_exists().
> 
> Special thanks to Linus Lüssing.
> 
> Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address Daniel Danzberger <daniel@dd-wrt.com> - 2016-06-24 13:00 +0200
  Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6  address Linus Lüssing <linus.luessing@c0d3.blue> - 2016-06-24 15:30 +0200
  Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6  address Linus Lüssing <linus.luessing@c0d3.blue> - 2016-06-25 16:30 +0200
    Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6  address David Miller <davem@davemloft.net> - 2016-06-28 14:50 +0200
      Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6  address Linus Lüssing <linus.luessing@c0d3.blue> - 2016-06-28 15:30 +0200
  Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6  address David Miller <davem@davemloft.net> - 2016-06-28 11:50 +0200

csiph-web