Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2947527pxy; Sun, 25 Apr 2021 09:00:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOk3X+V58K69Sde/q/+ka9GVdEdwec9fkfPSjB3ukI2KK24+C/nR7BePVRafiYbu+EC+hD X-Received: by 2002:a17:90a:9409:: with SMTP id r9mr15847080pjo.157.1619366449157; Sun, 25 Apr 2021 09:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619366449; cv=none; d=google.com; s=arc-20160816; b=diwHLqfxq9x85Ues4p+Pq2VKTMoeNUPDZwgvm+ZYTzykrSjrbxYvlhbIDbny6Fsk1u OB58Cmhwfxkd8vvIyObM4iSMoVluMx8RvvR285yDopO7t+z7ld5Bs1b7NPNV2YCPn+Xb 8jzpyJbCVeuQkrAeLsP4xSTaBL+17xXoCtHRemsXktRB5lNPhSKNy8dkpUE3cuCFm503 thJw90/wMpO4czb8x3jaotBgELJVYIDdZCjqBWG7gaPyQo+QjLv8MhKooiIfimpPG1ed JyWyGgLZeouH6aOZ0uZDhImlIL/Plxtd/xgBrKmr52rLSGmchRwVBMn7jDM0ad/lLCiQ HHkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xYalNIb2+AlNvqeCyMkhCE1++rbfqWzCzlSMBuNKYtk=; b=VPBhwozfU8wtDarKXxKHnmwU8kYQ0EiiVXpTn/oP+02wo7T/HDXPD12EkYV/A6SfmT R3j1IpKtRl36j84DsTaST+IIIMu5LxsdQSDg1AAcAUJbzqnQtdHn67h+LCGj5BA5XwRO 6BUSi0DTT1DSIm1O91C9hoTBbtMJD7dEH1xnBjpC/6ucFnOaPKbePChAuSl+FHu5EZvZ unsAjuS18h+eZTQfBYqs/2Y6vS0l8bHTdnLJY4+yr+pc9XSv0AiA2gA52F4UaTgESZil ueHbOKzY8Me4mrvFbUebZ3p7VeCq941DoEIP84yvIgjIxinxbcZosd8cZkGkVffN6UtR 6A2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si14424494pgp.235.2021.04.25.09.00.36; Sun, 25 Apr 2021 09:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230491AbhDYP6s (ORCPT + 99 others); Sun, 25 Apr 2021 11:58:48 -0400 Received: from mail.aperture-lab.de ([116.203.183.178]:40258 "EHLO mail.aperture-lab.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230473AbhDYP6s (ORCPT ); Sun, 25 Apr 2021 11:58:48 -0400 X-Greylist: delayed 1772 seconds by postgrey-1.27 at vger.kernel.org; Sun, 25 Apr 2021 11:58:47 EDT Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3B5813EBF7; Sun, 25 Apr 2021 17:58:03 +0200 (CEST) From: =?UTF-8?q?Linus=20L=C3=BCssing?= To: netdev@vger.kernel.org Cc: Roopa Prabhu , Nikolay Aleksandrov , Jakub Kicinski , "David S . Miller" , bridge@lists.linux-foundation.org, b.a.t.m.a.n@lists.open-mesh.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/2] net: bridge: split IPv4/v6 mc router state and export for batman-adv Date: Sun, 25 Apr 2021 17:57:31 +0200 Message-Id: <20210425155732.8561-1-linus.luessing@c0d3.blue> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.2 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The following are two patches for the Linux bridge regarding multicast routers. They are rebased on top of the following fix: "net: bridge: mcast: fix broken length + header check for MRDv6 Adv." [0] And should be applied afterwards. The first one splits the so far combined multicast router state into two ones, one for IPv4 and one for IPv6, for a more fine-grained detection of multicast routers. This avoids sending IPv4 multicast packets to an IPv6-only multicast router and avoids sending IPv6 multicast packets to an IPv4-only multicast router. This is also in preparation for the second patch: The second patch exports this now per protocol family multicast router state so that batman-adv can then later make full use of the Multicast Router Discovery (MRD) support in the Linux bridge. The batman-adv protocol format currently expects separate multicast router states for IPv4 and IPv6, therefore it depends on the first patch. batman-adv will then make use of this newly exported functions like this[1]. Regards, Linus [0]: https://patchwork.kernel.org/project/netdevbpf/patch/20210425152736.8421-1-linus.luessing@c0d3.blue/ [1]: https://git.open-mesh.org/batman-adv.git/shortlog/refs/heads/linus/multicast-routeable-mrd -> https://git.open-mesh.org/batman-adv.git/commit/d4bed3a92427445708baeb1f2d1841c5fb816fd4