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=-1.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED 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 13AACC4360F for ; Wed, 3 Apr 2019 18:53:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D70582084B for ; Wed, 3 Apr 2019 18:53:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="RJ8erx4w" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726654AbfDCSxi (ORCPT ); Wed, 3 Apr 2019 14:53:38 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38741 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbfDCSxi (ORCPT ); Wed, 3 Apr 2019 14:53:38 -0400 Received: by mail-pf1-f193.google.com with SMTP id 10so36608pfo.5 for ; Wed, 03 Apr 2019 11:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=bxKqFx6dJ7rE26W26stZ0WeeC2WqsG2gDjb7Xxm1lXk=; b=RJ8erx4w0zJ8Ekpr3DbL+LBinEHnATm9qIRWOj3JxDCigXCnhVS8xjHJC8fgoAbXFe BWoRhi17pLBPDgG4n/mLBKLYkiCCYGNlrESwXhGymhVFA8bAeGjThHtsKttzTM9j0rGS ctqVaAPLcvBR2HShzppmEYQJcwvwMF9TiTMZOHYDHkSNsXem6aABCTH2BPFt6T6MNwoR UZyBjBBGovImOtqCGTVi2bQQiqCBNfBjJ9PPghZ6U76LmkEAUl5yED37bTGM74lhRi3m YUiRmaMRVqf5vqvBNCfiEMtZCHBP9JGi3IJBTOpzs9EMvNsCwwJDkYIdQKLLQyqvc6cO xpzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=bxKqFx6dJ7rE26W26stZ0WeeC2WqsG2gDjb7Xxm1lXk=; b=AJpC8M2wyZKICg5QRmPk4snGCdsBAixIa5AmjjhJQ27/Fp9kHGAYyZl0YjhlKWo4g1 IZLsHXsFMoVKHoGSmFOGYrmKsTxo3BO8xSOwWTljG3MYrMjNJjoBAwau+X9bV5oc1A4B FQ/xQzcl4TPmh+5jjcDToVPAUzhiTcDxqoMcJrjBogsfZhQIy5dBlNa8RNrEGdvO0BKI XCIjvKJXlQwCxwfdPSk7Ph6XpTJejKZc5FdaxXE5JVx+sHKd2WxawkwPIR6GdPs0y29I fPRO75vZIqk7pvfaHSJ7wM4OMteCnXEZmQENh9aCfA2NahnbU/bzxhEKl//X5sBUy7ri gTLw== X-Gm-Message-State: APjAAAVb8EiVtMq8UMC1Rcfm3+YoQAkN6TB4KS0vEqJlZ8+irg5OrRNq laoC+/3pj603ApXiI8q0f+mAK8XxKCa8jg== X-Google-Smtp-Source: APXvYqwvtY44GVaJ7mCyWdDZoNURzJpybx+USPG7rxhJULTZltKwrGIS35ceHVg9X9bM8GFEfDpbGA== X-Received: by 2002:a62:be13:: with SMTP id l19mr1032313pff.137.1554317616934; Wed, 03 Apr 2019 11:53:36 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m69sm26332812pfi.151.2019.04.03.11.53.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 11:53:36 -0700 (PDT) Date: Wed, 3 Apr 2019 11:53:33 -0700 From: Stephen Hemminger To: roopa@cumulusnetworks.com, nikolay@cumulusnetworks.com Cc: netdev@vger.kernel.org Subject: Fw: [Bug 203137] New: Bridge does not forward multicast if multicast_querier is enabled Message-ID: <20190403115333.4ea074b9@shemminger-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Begin forwarded message: Date: Wed, 03 Apr 2019 04:49:49 +0000 From: bugzilla-daemon@bugzilla.kernel.org To: stephen@networkplumber.org Subject: [Bug 203137] New: Bridge does not forward multicast if multicast_querier is enabled https://bugzilla.kernel.org/show_bug.cgi?id=203137 Bug ID: 203137 Summary: Bridge does not forward multicast if multicast_querier is enabled Product: Networking Version: 2.5 Kernel Version: 5.0.3 Hardware: All OS: Linux Tree: Fedora Status: NEW Severity: normal Priority: P1 Component: Other Assignee: stephen@networkplumber.org Reporter: liam.mcbirnie@boeing.com Regression: Yes When multicast querier is enabled on a bridge, multicasts are not forwarded according to the multicast forwarding database. "bridge mdb" shows the multicast forwarding entries but they are not forwarded to the ports. Manually adding the port to the bridge multicast DB works. Wireshark shows the packets arriving on the bridge but not being sent out the proper port. The regression was introduced by commit 19e3a9c90c53479fecaa02307bf2db5ab8b3ffe3, "net: bridge: convert multicast to generic rhashtable" by Nikolay Aleksandrov . Steps to reproduce: ip link add br0 type bridge mcast_querier 1 ip link set br0 up ip link add v2 type veth peer name v3 ip link set v2 master br0 ip link set v2 up ip link set v3 up ip addr add 3.0.0.2/24 dev v3 ip netns add test ip link add v1 type veth peer name v1 netns test ip link set v1 master br0 ip link set v1 up ip -n test link set v1 up ip -n test addr add 3.0.0.1/24 dev v1 # Multicast receiver ip netns exec test socat UDP4-RECVFROM:5588,ip-add-membership=224.224.224.224:3.0.0.1,fork - # Multicast sender echo hello | nc -u -s 3.0.0.2 224.224.224.224 5588 Observe that 'bridge mdb' has an entry for 224.224.224.224 on port v1. Observe that the multicast packets are seen on v2, v3 and br0 but not v1. -- You are receiving this mail because: You are the assignee for the bug.