Article View: linux.kernel.netdev
Article #8863Re: [PATCH net] macvlan: fix allmulti reference counting in passthru mode
From: patchwork-bot+netdevbpf
Date: Fri, 30 Oct 2026 10:10
Date: Fri, 30 Oct 2026 10:10
29 lines
8962 bytes
8962 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>:
On Mon, 26 Oct 2026 19:46:35 -0700 you wrote:
> Enabling allmulticast on a down passthru macvlan, bringing it up,
> then toggling allmulticast off and on can underflow the lower device's
> allmulti reference count.
>
> macvlan_change_rx_flags() only propagates IFF_ALLMULTI changes while
> the macvlan is up. However, the passthru path in macvlan_open() skips
> taking an allmulti reference when IFF_ALLMULTI is already set.
> Clearing allmulticast after opening the device therefore decrements
> a reference that was never taken. With no other allmulti users, the
> unsigned counter wraps from zero to UINT_MAX. The next increment
> fails with -EOVERFLOW and reports "allmulti touches roof".
>
> [...]
Here is the summary with links:
- [net] macvlan: fix allmulti reference counting in passthru mode
https://git.kernel.org/netdev/net/c/d8a4f4c59da5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179335500455.975222.9987670053252532591.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353709-linux-kernel-netdev=dewy.ruReferences:
<20261027024635.366900-1-prasad@arista.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353709-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] macvlan: fix allmulti reference counting in passthru mode Date: Fri, 30 Oct 2026 10:10:04 +0000 Organization: Usenet Network Message-ID: <179335500455.975222.9987670053252532591.git-patchwork-notify@kernel.org> References: <20261027024635.366900-1-prasad@arista.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2209798"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:t5lCejohoTnAKgcMXfwvpWCAwCk= sha256:VCPOPk3Bv3Mk1aueWVzLvYe7iwC7kdVpJo9+IRkMzHg= sha1:VZRJAq4jATHiX5N4/ASXFbdbRtU= sha256:X3CXA+QPGPDT7kjMBGIya6syiclYtRPD/EL8GpztRWs= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 992FE125C91; Fri, 30 Oct 2026 13:17:01 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.392 X-Spam-Status: No, score=-3.392 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qVqyhR-FgzUP; Fri, 30 Oct 2026 13:16:51 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353709-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 812D9125C8E; Fri, 30 Oct 2026 13:16:38 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id DAB812BFEC; Fri, 30 Oct 2026 10:10:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793355007; b=QcaJ5Oe+0MYQ2T4wDGQovlMNizboeaDa1odkd8d6yCDfPKpNpvP3ijTIvgBeiPxi50fl OVW5C+VeaX0MNE13X9AuSUX2MdHDKPzJenQrTAkHaAZd3NwYRfAhhxPs8Ktoa7WnQbkEX XUSyeLHUhfRTEp5916xGleAkIz92RMxz9FSBWl9j6dsbplCum6uAmv0rfl30/BNHHPYFy nzEP6uOC5XC4cdYsHpizT2R1rtLU1LVyCwXV18V8D2YqgvsJCCCnXKKypSSSURavvXSuf VhU+cFbFuQ5Tvi/yJk69hPASuFr3pbtrGL6Mn801AZjCGUGKNyQEcNqOifxdMngVGXg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793355007; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Fj4VgTyKpbQHPNQf8lhh6JhpdgtR8Rf8gD9G+4TbHwE=; b=bJdKaNOT68yJ2HB5OAQGpSwKE7moVGy4qYYqu4tZ6HwMxYzBJqe5/Yq1sAMHYMdro8GP Vsyribw5Aof5bZGjyIEcQAyeZMNBjGa4UmOL9ZvC7+ZJV+GleF76ZnudbJ5zbmkQiy7he Vjknhj/on9cS1/wGzFDn2x8MrQj8THCp3iET0u1X4sn2KGy3NIc81/arr8mi/GcMQGmI/ omb2ECvlMd1lANkVtZjzrWMYrGizD7nl/ScKzojjMaPYuLnX9JVRI950z+/km+S4gBZA/ Kx723h2x7JXTBWsaWeptsMkiwDE1UlhuwqXAGnW/9n264nQlA8Odrp4DrtfJow8QJgQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="K4AEW/QL"; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B03BD606A326; Fri, 30 Oct 2026 10:10:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=K4AEW/QL X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793355006; b=pnWJlFVz2TOLfFgS6CMFJ8J8KtcNEQEyOAstoGtpPhW5m8RML0nl8R2v0MyQGIDnhD/d 8sdeEowxRLvARMJbc+XSne4kfTWk/aqLw6vv9QoNYAzFEAS3jnkWGhHbFYQij4kESiUi8 1INC2HP1oM4YNMHn0N42UK6K8zM7p789r6yXKLoTYjlrbi3jPBgRPGFh1lzdhH8zgerg5 l8sPDOctuQrJVdbRZW1ZnQEWwXw/k7WzESyGTZb7oUV7uYZrlKbFk7S1XbjgySqtLhTXH /zdqOW74ZPel+xpVpyJn9riTS8+KCdfFsSIpHfrDQ0XOKPJvMf3H+7SkSrEmD/hMv7A== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793355006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Fj4VgTyKpbQHPNQf8lhh6JhpdgtR8Rf8gD9G+4TbHwE=; b=rFs9V8k93w8pCzyjXF7vpnF78AzDvBykO2YTis8ygl/2lnc58v5AYrMbjOni6WJY8MQ2 /pW9dC7EutbnmwUna+RUo3Zs6KpANPtTqZzzigKecBHoDpATO9cyf16PdNMxXnyS4/GWo PKnxd2dAJjbk95dp7aden2KAUbXYI4n3ZnbbEb8ejGfcJoC6SH13zldUK++vAK8f4sFYT 87Nz7fbToSUZTpeUgvas1ckmusOPEuOAPNGZKjk00HCdFXgLlsaAuFWyg3KCbG1f7zGwo xnrlHeqGGfnj9L++OeT6Bu7EgyeJnhKR9+512ZdTglpg9gN+5AQaMPyDWVNi3aGvJ9A== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="K4AEW/QL"; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92753606A31C; Fri, 30 Oct 2026 10:10:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C43731F000C1; Fri, 30 Oct 2026 10:10:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793355005; bh=Fj4VgTyKpbQHPNQf8lhh6JhpdgtR8Rf8gD9G+4TbHwE=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=K4AEW/QL+59deKQr2OYBXgObW0eQg85+CJWLoZKK88MgmKyhnm5UTv2DSbQUHFGPR t3YPSo6KAiKeAAltz5xDkJgZtyyT1pBHB5o/t38Z5Mg4g4BTUcICknLURMmt3Irzc7 QKWRCDlgWAnKQdFi7PRnmYYSawDkNTG5jjCsrwBOmBd81f7ruHVOgr6AzgQc9xr93f rMJ1YKT28SzvxERAzXYsDjOi7/kNPWklt3ol9DwL2AJb2RCsPOukpWqZI+socMd/s0 +uwYSOxXFRmlLBHIgGMMvMDIBHApOHe5/lm1+ECYlK7oYw0GZqUvIw9KMKqEeqaCPL l3XQjBp8LVZEw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id BA1EA3800454; Fri, 30 Oct 2026 10:10:05 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261027024635.366900-1-prasad@arista.com> X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org