Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1337685imu; Fri, 21 Dec 2018 18:03:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN75ay/m+Rpst36Qq3U/M8m1rno0HXYLCEznjCt9NgRoh1kN+OSpB/vS3O0jbqYAHop5DWKs X-Received: by 2002:a63:4c5:: with SMTP id 188mr4642503pge.391.1545444211283; Fri, 21 Dec 2018 18:03:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545444211; cv=none; d=google.com; s=arc-20160816; b=RwjOppCebk7iybnWQ7EWLNCV/SXdhMCtu3GMsKK71fXtfQoX88hMBqnnMMtwW8Liko lsP8S74KmtodU7g5Xz7nXyK7oSSAmYJZMOuOHjO684rce835fcwYkYaLiIBJONX3ZdEv JXAsvv13Mj/BVS+9tmCw5wVt2+vhutWTGipcU/FGZ4qF5VB+Ok79VW/SqFLqwATILLPn LfnHEQ1gQZPtPVU1kY6B8KoX8VOAo/6sP87PqYUInpgIZlnTkV0+IipoVZANqW6iZF03 ao0ohi25vkMX4jMJAYx+J1gG24VD8/K4Dgnk2fFFmW687UmY5+McgLPCNcEzg0JOD+GT Besg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dXhQBukfKWvAIAwxIDey7FTgXKt5X0FJHC3d9IIOa3Y=; b=mLTlmxOMF+5LomR9SLsI/Wgru6NEp1mOcMM18Hg2X46kTTUNvBtSowoKd+zW1qlSqe 2XGYDBxAwi91op4PJhali0XxtKYJUjygoPd23ZPcKKD4HfrtQQRw5dzxGUinnMg0/vWe nKZT1tT02FZLeNoQwuaqLlC2mZHPJFIfIk0S/QoKEsM+bsuJcJ1W8yWbsnRKl+nsj5AE 258HzN4NGnms4ErbABFzh+3whhO1XVcMyOsCedg9lHoDFjvvFGzCzJ0YKM/c/CFhuk3P ejTmEf1b8LdmsF1855FT/J7YHE9cH4uhQIa2DM4bVLpzabsVG+kHHU/VZGGcNkKUq3NS k0qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cumulusnetworks.com header.s=google header.b=QiZ6QXX7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cumulusnetworks.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n13si22575984pgp.307.2018.12.21.18.02.45; Fri, 21 Dec 2018 18:03:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cumulusnetworks.com header.s=google header.b=QiZ6QXX7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cumulusnetworks.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730285AbeLUPhr (ORCPT + 99 others); Fri, 21 Dec 2018 10:37:47 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36373 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726123AbeLUPhp (ORCPT ); Fri, 21 Dec 2018 10:37:45 -0500 Received: by mail-wr1-f68.google.com with SMTP id u4so5692746wrp.3 for ; Fri, 21 Dec 2018 07:37:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dXhQBukfKWvAIAwxIDey7FTgXKt5X0FJHC3d9IIOa3Y=; b=QiZ6QXX7LOzYWcy4f20zoVA+VTc2UVic3ktRvPXQO6G9W1GhAsjErvGsKvy1y/ijM1 t2/e5qoBCGn5zmH21/rH6yI8roh4hmJf5SH9XqUg5XxvyvGH9f/Gx0WW0Yd6TAYMpV7E j1gs/KaEqcWC52lMjKtzyWe617mlaoq2SwQr8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dXhQBukfKWvAIAwxIDey7FTgXKt5X0FJHC3d9IIOa3Y=; b=P92GZnRJsJdwQ+Y03976Dy6Gf1EiGmSFlMi7mYonkNZMxmtgxkA52SzJ0vzOemWTHt MdP6MvpVApiGUcyAbTbGFobzc46ULdWz7i1OTqsSzcPc3FKDw7EKH2V6dftitMB9MZiM ySO8mZ2Oi0cdk0whU3zHxoib9QDYcqOGXoN7O/qc8LG4eaHmPdBsgiRVMRZIBsO99owA CBCNfx+vJR9pDoYUOLqo3G0ldURABVxOUIb6s7pC/k0AK04xMBGzA/gB6L5H0h1MIbyP tpSW11Rt8Ad2D9HUWMRB3RCN2TY3nG+8qVr+UEpQMnoYYHKoK0qRRjXOacGNPSzNRXXL k2eA== X-Gm-Message-State: AJcUukcWlC6JEP8ruYTqe4QDfYP038puCbHOxtWwgpdAQAIoIerNeWOJ xR+B7lwC2sBW/0wCjPIjKTKpZ/SL9p4= X-Received: by 2002:a5d:4a45:: with SMTP id v5mr2958530wrs.7.1545406662873; Fri, 21 Dec 2018 07:37:42 -0800 (PST) Received: from [192.168.0.104] ([79.134.172.72]) by smtp.googlemail.com with ESMTPSA id i186sm14407922wmd.19.2018.12.21.07.37.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Dec 2018 07:37:42 -0800 (PST) Subject: Re: [PATCH net-next 0/4] bridge: implement Multicast Router Discovery (RFC4286) To: =?UTF-8?Q?Linus_L=c3=bcssing?= , netdev@vger.kernel.org Cc: Roopa Prabhu , Alexey Kuznetsov , Hideaki YOSHIFUJI , "David S . Miller" , bridge@lists.linux-foundation.org, b.a.t.m.a.n@lists.open-mesh.org, linux-kernel@vger.kernel.org References: <20181221151511.14923-1-linus.luessing@c0d3.blue> From: Nikolay Aleksandrov Message-ID: Date: Fri, 21 Dec 2018 17:37:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181221151511.14923-1-linus.luessing@c0d3.blue> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/21/18 5:15 PM, Linus Lüssing wrote: > Hi, > > This patchset adds initial Multicast Router Discovery support to > the Linux bridge (RFC4286). With MRD it is possible to detect multicast > routers and mark bridge ports and forward multicast packets to such routers > accordingly. > > So far, multicast routers are detected via IGMP/MLD queries and PIM > messages in the Linux bridge. As there is only one active, selected > querier at a time RFC4541 ("Considerations for Internet Group Management > Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping > Switches") section 2.1.1.a) recommends snooping Multicast Router > Advertisements as provided by MRD (RFC4286). > > > The first two patches are refactoring some existing code which is reused > for parsing the Multicast Router Advertisements later in the fourth > patch. The third patch lets the bridge join the all-snoopers multicast > address to be able to reliably receive the Multicast Router > Advertisements. > > > What is not implemented yet from RFC4286 yet: > > * Sending Multicast Router Solicitations: > -> RFC4286: "[...] may be sent when [...] an interface is > (re-)initialized [or] MRD is enabled" > * Snooping Multicast Router Terminations: > -> currently this only relies on our own timeouts > * Adjusting timeouts with the values provided in the announcements > > > Regards, Linus > > > Hi Linus, Nice work, unfortunately net-next is currenty closed. Anyway I'll review the patches in detail after the holidays so if there's anything it can be adjusted for when net-next opens up. Thanks, Nik