From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756524Ab3H3T3H (ORCPT ); Fri, 30 Aug 2013 15:29:07 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:56466 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753131Ab3H3T3F convert rfc822-to-8bit (ORCPT ); Fri, 30 Aug 2013 15:29:05 -0400 Date: Fri, 30 Aug 2013 15:29:02 -0400 (EDT) Message-Id: <20130830.152902.1277686222231900490.davem@davemloft.net> To: linus.luessing@web.de Cc: bridge@lists.linux-foundation.org, stephen@networkplumber.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, herbert@gondor.hengli.com.au, amwang@redhat.com, linux@baker-net.org.uk Subject: Re: [PATCHv2] bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones From: David Miller In-Reply-To: <1377876497-6185-1-git-send-email-linus.luessing@web.de> References: <20130828.200831.289304393401193657.davem@davemloft.net> <1377876497-6185-1-git-send-email-linus.luessing@web.de> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.1 (shards.monkeyblade.net [0.0.0.0]); Fri, 30 Aug 2013 12:29:05 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linus Lüssing Date: Fri, 30 Aug 2013 17:28:17 +0200 > Currently we would still potentially suffer multicast packet loss if there > is just either an IGMP or an MLD querier: For the former case, we would > possibly drop IPv6 multicast packets, for the latter IPv4 ones. This is > because we are currently assuming that if either an IGMP or MLD querier > is present that the other one is present, too. > > This patch makes the behaviour and fix added in > "bridge: disable snooping if there is no querier" (b00589af3b04) > to also work if there is either just an IGMP or an MLD querier on the > link: It refines the deactivation of the snooping to be protocol > specific by using separate timers for the snooped IGMP and MLD queries > as well as separate timers for our internal IGMP and MLD queriers. > > Signed-off-by: Linus Lüssing Looks great, applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCHv2] bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones Date: Fri, 30 Aug 2013 15:29:02 -0400 (EDT) Message-ID: <20130830.152902.1277686222231900490.davem@davemloft.net> References: <20130828.200831.289304393401193657.davem@davemloft.net> <1377876497-6185-1-git-send-email-linus.luessing@web.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: amwang@redhat.com, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux@baker-net.org.uk, stephen@networkplumber.org, herbert@gondor.apana.org.au To: linus.luessing@web.de Return-path: In-Reply-To: <1377876497-6185-1-git-send-email-linus.luessing@web.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bridge-bounces@lists.linux-foundation.org Errors-To: bridge-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org From: Linus L=FCssing Date: Fri, 30 Aug 2013 17:28:17 +0200 > Currently we would still potentially suffer multicast packet loss if = there > is just either an IGMP or an MLD querier: For the former case, we wou= ld > possibly drop IPv6 multicast packets, for the latter IPv4 ones. This = is > because we are currently assuming that if either an IGMP or MLD queri= er > is present that the other one is present, too. > = > This patch makes the behaviour and fix added in > "bridge: disable snooping if there is no querier" (b00589af3b04) > to also work if there is either just an IGMP or an MLD querier on the= > link: It refines the deactivation of the snooping to be protocol > specific by using separate timers for the snooped IGMP and MLD querie= s > as well as separate timers for our internal IGMP and MLD queriers. > = > Signed-off-by: Linus L=FCssing Looks great, applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 30 Aug 2013 15:29:02 -0400 (EDT) Message-Id: <20130830.152902.1277686222231900490.davem@davemloft.net> From: David Miller In-Reply-To: <1377876497-6185-1-git-send-email-linus.luessing@web.de> References: <20130828.200831.289304393401193657.davem@davemloft.net> <1377876497-6185-1-git-send-email-linus.luessing@web.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Bridge] [PATCHv2] bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: linus.luessing@web.de Cc: amwang@redhat.com, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux@baker-net.org.uk, stephen@networkplumber.org, herbert@gondor.apana.org.au From: Linus L=FCssing Date: Fri, 30 Aug 2013 17:28:17 +0200 > Currently we would still potentially suffer multicast packet loss if = there > is just either an IGMP or an MLD querier: For the former case, we wou= ld > possibly drop IPv6 multicast packets, for the latter IPv4 ones. This = is > because we are currently assuming that if either an IGMP or MLD queri= er > is present that the other one is present, too. > = > This patch makes the behaviour and fix added in > "bridge: disable snooping if there is no querier" (b00589af3b04) > to also work if there is either just an IGMP or an MLD querier on the= > link: It refines the deactivation of the snooping to be protocol > specific by using separate timers for the snooped IGMP and MLD querie= s > as well as separate timers for our internal IGMP and MLD queriers. > = > Signed-off-by: Linus L=FCssing Looks great, applied, thanks.