Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1676619pxj; Wed, 19 May 2021 11:13:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnD5U8R27rY1nDIybHyJTuKfjU2JQJ0rodL4zJwDQXimaGEOdkS9NzJ/ZS7S3ienImfGmW X-Received: by 2002:a92:d24a:: with SMTP id v10mr256464ilg.247.1621448014743; Wed, 19 May 2021 11:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621448014; cv=none; d=google.com; s=arc-20160816; b=QmNbNIs8Xn2PT+pSJdpyl1zDdtEsokzFyu3oMSQVcQhbfc+niepBTxnKLFA6SBpEW5 6g9p2zN0NtAvQQkkLzTHTPhzCQRVo9vdLcr4i249QVS46LkdyWhyyFkbRmuTj2UkTL0V tbpQ2S400ycttBHtv22iujIKSX0t7pqdC7h3U4bbBYBD8mNcgcH/3ragbwafOPUqpE4P h/RT4pqQQ9FCydrvbr1C5AbVPQ1a32F1rMQgmoEBLDHS+ky0c7pXGNDtEISQjYOq/YkA 5qu+uovZI/O6Zu7CAEH2PTD2C+cQ5NoIbzyI2IK9SqXYMSklbc4c3sutWiJNk3ESRO8P UWDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=E6XqeA0enk7Za95+faOf4P89LUNog4aDp8+ZUKGWONI=; b=TeLkoz0V767+XMeJc7cithrYa+JbpB284AN3F9RKbV+NDC6sYBq9+ljaiz1Kr/283E Wf405LkSmaCBfz9gUKHYbIBrcPksAyB+VD3/TkEvLYpL9e+17D8c+kCAXlTdBTlUQiC2 Vy8T90ahaxd5tQOSrgAFfQ69L1vYe9SlrwvJgQBSYkWnMWTuHbYuUjqctxQc3aTFO6Iy Eb83UoLuyCRS2ttE0B0JdoG0IGi9xdqLEca9xkhzI1wuFHGt1QeZpTcWXW8B7HEjS13n bPtLV0ja0M+2FKpVf0BSA3cKeL1q6RhchSgBmpA1jS7bUcQSsjVn7XXwlTnBe3CjMRLk zZ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="hJrpif0/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 7si332652ilz.34.2021.05.19.11.13.22; Wed, 19 May 2021 11:13:34 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="hJrpif0/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244950AbhERN6i (ORCPT + 99 others); Tue, 18 May 2021 09:58:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:48350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243387AbhERN6g (ORCPT ); Tue, 18 May 2021 09:58:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C95F461184; Tue, 18 May 2021 13:57:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621346237; bh=TzkSu69RYouvQQc0B8rvBmw30q3/etOKjmHDnYJ8dI4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hJrpif0/bqpO5YFefybvaTTFhfhxQbE4jcjM+G5/3TBFgwwBYCCV8TujGIkrI3Jk/ o6bfeytyaBZh8MzvGxAULF/OeyqH7rhUROL3Ldwu85fRzqJgvsnuUNAy9VtHNnE8Lw nz6lchtimKZ/i/DzeoKnBKl4PNTSj0ultqRHJG5w= Date: Tue, 18 May 2021 15:57:15 +0200 From: Greg Kroah-Hartman To: Vladimir Oltean Cc: Rudi Heitbaum , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Florian Fainelli , "David S. Miller" , Sasha Levin Subject: Re: [PATCH 5.12 081/363] net: bridge: propagate error code and extack from br_mc_disabled_update Message-ID: References: <20210517140302.508966430@linuxfoundation.org> <20210517140305.339768334@linuxfoundation.org> <20210518122449.GA65@ec3d6f83b95b> <20210518134909.iak6mdnscrcbzm6f@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210518134909.iak6mdnscrcbzm6f@skbuf> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 01:49:10PM +0000, Vladimir Oltean wrote: > Greg, > > On Tue, May 18, 2021 at 02:39:43PM +0200, Greg Kroah-Hartman wrote: > > On Tue, May 18, 2021 at 12:24:57PM +0000, Rudi Heitbaum wrote: > > > On Mon, May 17, 2021 at 03:59:07PM +0200, Greg Kroah-Hartman wrote: > > > > From: Florian Fainelli > > > > > > > > [ Upstream commit ae1ea84b33dab45c7b6c1754231ebda5959b504c ] > > > > > > > > Some Ethernet switches might only be able to support disabling multicast > > > > snooping globally, which is an issue for example when several bridges > > > > span the same physical device and request contradictory settings. > > > > > > > > Propagate the return value of br_mc_disabled_update() such that this > > > > limitation is transmitted correctly to user-space. > > > > > > > > Signed-off-by: Florian Fainelli > > > > Signed-off-by: Vladimir Oltean > > > > Signed-off-by: David S. Miller > > > > Signed-off-by: Sasha Levin > > > > --- > > > > net/bridge/br_multicast.c | 28 +++++++++++++++++++++------- > > > > net/bridge/br_netlink.c | 4 +++- > > > > net/bridge/br_private.h | 3 ++- > > > > net/bridge/br_sysfs_br.c | 8 +------- > > > > 4 files changed, 27 insertions(+), 16 deletions(-) > > > > > > This patch results in docker failing to start, and a regression between > > > 5.12.4 and 5.12.5-rc1 > > > > > > A working dmesg output is like: > > > > > > [ 11.545255] device eth0 entered promiscuous mode > > > [ 11.693848] process 'docker/tmp/qemu-check643160757/check' started with executable stack > > > [ 17.233059] br-92020c7e3aea: port 1(veth17a0552) entered blocking state > > > [ 17.233065] br-92020c7e3aea: port 1(veth17a0552) entered disabled state > > > [ 17.233098] device veth17a0552 entered promiscuous mode > > > [ 17.292839] docker0: port 2(veth9d227f5) entered blocking state > > > [ 17.292848] docker0: port 2(veth9d227f5) entered disabled state > > > [ 17.292946] device veth9d227f5 entered promiscuous mode > > > [ 17.293070] docker0: port 2(veth9d227f5) entered blocking state > > > [ 17.293075] docker0: port 2(veth9d227f5) entered forwarding state > > > > > > with this patch "device veth17a0552 entered promiscuous mode" never > > > shows up. > > > > > > the docker error itself is: > > > > > > docker: Error response from daemon: failed to create endpoint > > > sleepy_dijkstra on network bridge: adding interface veth8cbd8f9 to > > > bridge docker0 failed: operation not supported. > > > > Ick. > > > > Does 5.13-rc1 also show this same problem? > > > > And thanks for testing! > > Did you backport this patch too? > https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=68f5c12abbc9b6f8c5eea16c62f8b7be70793163 Ick, I didn't run my "do we need additional fixes" script before this round :( So no, I didn't. I'll go queue that up now and push out a -rc2. thanks, greg k-h