From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B0A7C43381 for ; Thu, 14 Feb 2019 10:38:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DADA6222A4 for ; Thu, 14 Feb 2019 10:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550140712; bh=r4RMxeg2lisa50eaRkZA6R4sYQEMPSnJDqZt32owmBk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=PiWFd52IOgYac48KqfhXEhX6EQo5xnoWEyfAGm88QDk/5VqhM04fwf3ZcG6fW4afg rrGZqLzGKFtqbhh6W0IUYGtHYfiM2nfKocANeWIiJpvA3b1xkdajsn3z27BFztHkUa 2DRtV8VnYNc574A4gaigEDoxyDc6jKfTj4k4wHw4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389578AbfBNKic (ORCPT ); Thu, 14 Feb 2019 05:38:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:41596 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727539AbfBNKic (ORCPT ); Thu, 14 Feb 2019 05:38:32 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 02D872229F; Thu, 14 Feb 2019 10:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550140711; bh=r4RMxeg2lisa50eaRkZA6R4sYQEMPSnJDqZt32owmBk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q+3bREpi18Jywt4PJjHuC98vzLOXQJgZ88EZ3sHE8D15lndNcTllrsgkphTAAUh8m 2Rhw0WYWeu28QfVRhvt551lFNVdkCXvI4IW5KWTxgOufmkmWJjBj+Wh1QBrkIejmw+ ucli+zH4Tw9FY9VwqC18Yd6hBBrqwUVF+L3Qx694= Date: Thu, 14 Feb 2019 11:38:28 +0100 From: Greg Kroah-Hartman To: Linus Walleij Cc: stable@vger.kernel.org, openwrt-devel@lists.openwrt.org, "David S . Miller" , Eric Dumazet , Hauke Mehrtens , Dave Taht , Liping Zhang , John Youn , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , James Hughes , Felix Fietkau , Linus =?iso-8859-1?Q?L=FCssing?= , Nikolay Aleksandrov Subject: Re: [PATCH 01/10] bridge: multicast to unicast Message-ID: <20190214103828.GA7273@kroah.com> References: <20190214102436.5092-1-linus.walleij@linaro.org> <20190214102436.5092-2-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190214102436.5092-2-linus.walleij@linaro.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Feb 14, 2019 at 11:24:27AM +0100, Linus Walleij wrote: > From: Felix Fietkau > > Implements an optional, per bridge port flag and feature to deliver > multicast packets to any host on the according port via unicast > individually. This is done by copying the packet per host and > changing the multicast destination MAC to a unicast one accordingly. > > multicast-to-unicast works on top of the multicast snooping feature of > the bridge. Which means unicast copies are only delivered to hosts which > are interested in it and signalized this via IGMP/MLD reports > previously. > > This feature is intended for interface types which have a more reliable > and/or efficient way to deliver unicast packets than broadcast ones > (e.g. wifi). > > However, it should only be enabled on interfaces where no IGMPv2/MLDv1 > report suppression takes place. This feature is disabled by default. > > The initial patch and idea is from Felix Fietkau. > > Signed-off-by: Felix Fietkau > [linus.luessing@c0d3.blue: various bug + style fixes, commit message] > Signed-off-by: Linus Lüssing > Reviewed-by: Nikolay Aleksandrov > Signed-off-by: David S. Miller > --- > include/linux/if_bridge.h | 1 + > include/uapi/linux/if_link.h | 1 + > net/bridge/br_forward.c | 39 +++++++++++++++- > net/bridge/br_mdb.c | 2 +- > net/bridge/br_multicast.c | 90 ++++++++++++++++++++++++++---------- > net/bridge/br_netlink.c | 5 ++ > net/bridge/br_private.h | 3 +- > net/bridge/br_sysfs_if.c | 2 + > 8 files changed, 114 insertions(+), 29 deletions(-) What is the git commit id of this patch upstream? I need that on the patches themselves. thanks, greg k-h