Article View: linux.kernel.netdev
Article #21138Re: [PATCH net] tun: flush uc and mc addresses in TUNSETLINK
From: patchwork-bot+netdevbpf
Date: Mon, 23 Nov 2026 15:50
Date: Mon, 23 Nov 2026 15:50
27 lines
8647 bytes
8647 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 18 Nov 2026 13:54:43 +0100 you wrote:
> TUNSETLINK changes dev->type and dev->addr_len, but leaves
> dev->uc and dev->mc untouched.
>
> Entries added with the old addr_len stay in lists and rb-trees
> that are now searched and dumped with the new addr_len.
>
> When addr_len grows (eg ARPHRD_NONE -> ARPHRD_IP6GRE), dumps like
> /proc/net/dev_mcast and RTM_GETMULTICAST expose bytes of
> netdev_hw_addr that were never initialized.
>
> [...]
Here is the summary with links:
- [net] tun: flush uc and mc addresses in TUNSETLINK
https://git.kernel.org/netdev/net/c/5677cf0e039b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179544900428.2481748.17372539873029172530.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369551-linux-kernel-netdev=dewy.ruReferences:
<20261118125443.1137177-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369551-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] tun: flush uc and mc addresses in TUNSETLINK Date: Mon, 23 Nov 2026 15:50:04 +0000 Organization: Usenet Network Message-ID: <179544900428.2481748.17372539873029172530.git-patchwork-notify@kernel.org> References: <20261118125443.1137177-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3918942"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:9iviafWNTSMK6JDHIiDxl3mkAqo= sha256:5DP1LnGQ2m1tj0GRvbgTR1xwYD5Sd83vZHdl/JuOvgw= sha1:hTijj9oJFg4V3cp6UqF4SpklyUI= sha256:20NZ+cBtqc2Q6p0DGbF2s9EZo1CollHBPS+uSCY8L48= 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 DCCD9125DB9; Mon, 23 Nov 2026 18:50:29 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 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_HELO_NONE=0.001, SPF_PASS=-0.001] 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 me7tK5gwswFJ; Mon, 23 Nov 2026 18:50:22 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-369551-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 D0788125DBC; Mon, 23 Nov 2026 18:50:11 +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 389592FEBA; Mon, 23 Nov 2026 15:50: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=1795449007; b=pJ9wIaEYFIlNRzbUZzjkrhCALBxtor4w/sRsSeMYJ5LDzDOx9VpU16kstvFqNPVE6/BM i6Kghp2OdmKsd99q7dYcHiMudUUY8cC3c2nGehpPICbbkbpyxiYMc4fPvHO1gaCJl4HpY 0K2mAwjOebvraYw0nyfzzHW7I2mj91KPZUP0VEeMdYrrsAZ5L2UsqkOIoCbBlTVicoiwR yBgtdl4q5mzQdOP7wFTUFjs4H9j9FUWKIrgUMa+uQWZlNDnRNKS+dhb2JrnqrhPLTZGGd Loh4Zr6pEimwaNqxtdMB2OYiiPeBYVZ7B9hJPgw0YdWewwGzg7voNEls/xDjKSu+ZRw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795449007; 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=yMCQX1MK2p4OdyMcruHu0cOeT9j+FO09ksDVPfiPNmk=; b=KWA3xYdx2VTibnI8zxqbLJMQBTp0ikAKFAUE8Xko2A/cfiyTJwenkzRh8egXqIVILj1N 6Q/jPXBRutyIm44uaa9jhfYqnI4ase3uGSsIaBV8AehXDqM+EYgY0HpAJzL0HcnYB/cUj Fpg5blUGwAUrxy2+uaNQiypq6mWM5PK8nlJxLgHnYT3233uWodD5Uqm+R/5VBmcAerfc/ ksQ1g0TFEtJKWWlg7dZQ7jbTklJ23aV/sjMvbtQyzUk2Tb9UxIKJGSjUTB5femgIVMZH6 0DOgEau7jAfQh6+nu40iizoM8qGS9ZdN2/kp7KJpT9SCot3c/LsM5YM2swGTvHLIa1g== 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=Ywz5HahX; 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 053ED606A332; Mon, 23 Nov 2026 15:50:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Ywz5HahX 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=1795449006; b=OmyZK7VtfePe4ux0sqrl6XhfgdB0bBiX2/1rG+EqYVQzHAAcHX81lu3kHPbAjYH3KmE6 cgtZWYr65EDOttIoMeP9LglfZqMDjEo1PVPz+RVjxGNXteLeVodlNBI3EAH+dQ3pQMYEv ZRK9skG2SL+cuM/GtgHVLsp7ald+Pr8Z/Y/+1bgqxa7+4YMk5zghjjLtBlub/HCkEvUdc pV30NBv6mlZgtycphnOwo8/bnId0JENTUiG7ccMqxXnDInc5S5/cjfyESeyqns5kgeJms uUitgEOZycdfff3tsueASxHxLDOSUMt0+8Lv420LqbY98uVoZ+PW8X30LbuL8h2GgUA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795449006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=yMCQX1MK2p4OdyMcruHu0cOeT9j+FO09ksDVPfiPNmk=; b=hcXzo+DOIrleKWS2wJn1H/c2pv+CQQ6fWDX3OP/IDZPY9C2QBNA20/iYJs+allKw7Tyy 9BF2N0ZSQytJW/mO2NG4YOqjXonf40j9G56nVfor9e746ad8Ps68rMkeNn4gnjq5LThRo zXaDCxV0fC6UGFN0KnvKnRfhmbF6SfFTWK1ocr5Be4XPZhYhvb1YKW2slh7aCNHsR4RNF Z/KgruI371hx5+CYRlsdcEG3mazDLrWcz6ZEqBX4uFXGZy3z28zUcg2fJK7y2yjqy9bC6 97Wdim1cFb/JlOP7XQsWJX+pZnTYYTs7je6fRDXNqyypr0RfcUjK1vdxl7lj3XFImyA== 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=Ywz5HahX; 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 22A41606A31F for <netdev@vger.kernel.org>; Mon, 23 Nov 2026 15:50:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 827DC1F000CA; Mon, 23 Nov 2026 15:50:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795449005; bh=yMCQX1MK2p4OdyMcruHu0cOeT9j+FO09ksDVPfiPNmk=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Ywz5HahXA82PCLWk5wkAozGSKIrwvcQxjfT+Ogdcd++VrDC9lir/C1c8SJ2ZQCL+M nUN43R0QT9lbpHHtuJF0gHUOMK86DCx0y9oGmMxrhUn48E+NewnJ02lCOrTuRHRGOi 6Nl03QnEeLCp/7wfNx0bZmpLzx20gi0Uv0UYOkdyKpb0yetgeNIjILbywukiJtYPyf hxn201++KhOG/T511n0ck/Z3TCIE0VbTfePJYx231sGUiR0tm2/ZQvCgMN2/TVRIAK FVk9eaTmGkBLaSOSpAu0BDKvgavMbdwhn8bOuEK7t8Ju8krwHDjPdbUdNQFTPLGpsg wo/RbxSytW3/Q== 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 773C1392EE0D; Mon, 23 Nov 2026 15:50: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: <20261118125443.1137177-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, horms@kernel.org, netdev@vger.kernel.org, bsdhenrymartin@gmail.com, willemdebruijn.kernel@gmail.com, jasowangio@gmail.com, andrew+netdev@lunn.ch