🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13803

Re: [PATCH net-next v2] ipv6: Add NETCONFA_FORCE_FORWARDING to netconf messages

#13803
From: Gabriel Goller
Date: Tue, 10 Nov 2026 10:23
41 lines
9162 bytes
On 09.11.2026 11:05, Ido Schimmel wrote:
> On Wed, Nov 04, 2026 at 10:46:10AM +0100, Gabriel Goller wrote:
> > Since force_forwarding was added, changing the sysctl sends an
> > RTM_NEWNETCONF notification of type NETCONFA_FORCE_FORWARDING, but
> > inet6_netconf_fill_devconf() never emits the attribute. Listeners only
> > receive NETCONFA_IFINDEX without the new value, and RTM_GETNETCONF
> > replies and dumps omit it as well.
> > 
> > Also send a notification when disabling all.forwarding resets
> > force_forwarding on an interface, which previously happened silently.
> > 
> > Fixes: f24987ef6959 ("ipv6: add `force_forwarding` sysctl to enable per-interface forwarding")
> 
> Fixes tag on net-next is only valid when the blamed commit is only in
> net-next, but maybe Paolo / Jakub will agree to strip it, so wait with
> v3.
> 
> > Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> 
> Reviewed-by: Ido Schimmel <idosch@nvidia.com>
> 
> There's a report from Sashiko [1] about a pre-existing issue:
> all.force_forwarding not being cleared when all.forwarding is cleared.
> 
> # ip link add name dummy1 type dummy
> # sysctl -wq net.ipv6.conf.all.forwarding=1
> # sysctl -wq net.ipv6.conf.all.force_forwarding=1
> # sysctl -wq net.ipv6.conf.all.forwarding=0
> # sysctl net.ipv6.conf.dummy1.force_forwarding
> net.ipv6.conf.dummy1.force_forwarding = 0
> # sysctl net.ipv6.conf.all.force_forwarding
> net.ipv6.conf.all.force_forwarding = 1
> 
> [1] https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261104-ipv6_add_netconfa-v2-1-6f660990062f@proxmox.com

Thanks, sent a patch:

https://lore.kernel.org/netdev/20261109-ipv6_reset_all-v1-1-815dfd508246@proxmox.com/

Gabriel
Technical Details
Message-ID: <avLwfaWRs5Gsdy3z@luna.proxmox.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360086-linux-kernel-netdev=dewy.ru
References: <20261104-ipv6_add_netconfa-v2-1-6f660990062f@proxmox.com> <20261109090505.GA1495012@shredder>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360086-linux-kernel-netdev=dewy.ru
From: g.goller@proxmox.com (Gabriel Goller)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] ipv6: Add NETCONFA_FORCE_FORWARDING to
 netconf messages
Date: Tue, 10 Nov 2026 11:23:41 +0100
Organization: Usenet Network
Message-ID: <avLwfaWRs5Gsdy3z@luna.proxmox.com>
References: <20261104-ipv6_add_netconfa-v2-1-6f660990062f@proxmox.com>
 <20261109090505.GA1495012@shredder>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="584693"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:MLtCP20IE8wAjIk/CkFapzX+PzM= sha256:Hcg8rnTADSZLV3vsVNUyEEvG91xTrUH9cHDKqrucBTs=
	sha1:3uRvXH64Wpx+lLDq+OEnl+VyUpc= sha256:eyTCqwit4ExiNPxcMdtTQ1O28M+6uFO40DRqCW4g6Ww=
Content-Disposition: inline
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 D4091113AD8; Tue, 10 Nov 2026 13:46:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Hd6DetpXoOQi;
	Tue, 10 Nov 2026 13:46:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360086-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=proxmox.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id AAB87113B01; Tue, 10 Nov 2026 13:46:11 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 05D4588579; Tue, 10 Nov 2026 10:26:21 +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=1794306235;
	b=zdEfX/FHT1+fWWT0kHLa4afobGno12lt9jaZwxlYsnjw9DiLtEEtcdpSvnlZ7eXAAhW8
	 Oap6NsQr8fvs5F1RlGYGLSBlLIS4aCS+BwDy7j72MgtfXeeQC99SF52rG2fusZ1l23me0
	 yUExi/ZpH5dao3q0bwRI1V8uPZ+PUpcPiCFVebQw6uFQAY6o13H0SBn2T98iXoWH+5UYF
	 IHxWwRB0rsv4S/O25sHHC+wjHmbyBTVnapxHq0Pcpa0YaEjYSOMYTQ+Y/lzQmQIF/hKdP
	 n+uHv3IgezLhhzqVml4g+vxfeeq9I8mAGFYDo/ftGnZDJRXprQXipPRsq0kyg0DfLuw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794306235;
	h=X-Original-To:Received:DMARC-Filter:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To:User-Agent:
	 X-Bm-Milter-Handled:X-Bm-Transport-Timestamp;
	bh=h6kwJieY+oGcWyDMxdNXVOCZPKC8m+HXb6SspZnkgEM=;
	b=dPd+FvIV9InRg7qnIKlXwRZheet0Q410TrzxIzC0e72NM2fSqxKboh3la/qhij2SeARo
	 PQ0QBHdIbfeflnCzbYP4E/XYc1OyBagOfS9fSMnKY44JgBKnfM6t5EIta9LuclNHshara
	 Rn27WYHntI4RPRGYCMgmmhQNXhURgV9/D9xIAE0kZkg2ieXoxnsGsHMsDCpUXG4O/zx9i
	 FOpsiEQoFJvU8ek340EwCb3Bw22SLvFDFwTT3cmGtFaiuzbKifD4Wglgw5rzyIEUoOViX
	 Sylr4Xg/WwSXl1xXyN42VreCx9ZIJraTnlb6BIWV7IVVcu5faSvJQJdrAbe3Xmwykug==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=proxmox.com;
	spf=pass smtp.mailfrom=proxmox.com;
	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 C9B25606A435;
	Tue, 10 Nov 2026 10:23:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=94.136.29.106
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794306235;
	b=pGHsqpqJtpMDXaupCKL5+fQH3CCf8OM8OTepgWCbu62quHt04OqoF7TrkV2B9bSSkAE9
	 YlfL3aNMyg9JTE4o3Sir2P2CAm58kOLmrbf0rM5l+fkYRX8IJ5ppML88MZRVNh8LjtQS0
	 VwYkDCEhzOSNx88/PZ8fWndtWu6etm0uMJBpuNc5FUZNTUm9Jlmjbf/nLME7wEMPmy59U
	 gHjJuwCBZQ4qrrB/l+CKpE+CD2IOQ1rECrJltI6kYPpFbiMjZT6Aea6YZw4a6XAgAkjQ0
	 DqhIpQufHkBwNc5PZxA67iC/2BZJg7OmD+bQKuCwKHNswHLf6wWBjC6kPBsqk8SxNXA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794306235;
	h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:
	 X-Bm-Milter-Handled:X-Bm-Transport-Timestamp;
	bh=h6kwJieY+oGcWyDMxdNXVOCZPKC8m+HXb6SspZnkgEM=;
	b=KyrnqiIZBZoB5kR0KIX0LdnN6BjQHCfO3ZwUWm+AoCeN9vubFHkV40j2sCnhLoymJn5B
	 R5XsgXDbhCsRG49DR80VW86suENeV/dR7xe4sd8Ovcee8kLu1UkX9RTUwg3OwKG1G5WDA
	 GFyBXEuGtTLAhd8iYL7u3ZonNJm3OImkwbo78aXNGycuM3RhOvrpr7t+1IDZB8zRLOCK6
	 PvJBwXCyHK8jGt8djMo/QK0cMI5czEi/zu1guCeQuN5knIBIt5HMcjbyiVoxBscnR+2gl
	 +tKVJPQWmeL8Y5wadzKUydzm5MGYjU3uFdwQhqoUKb+invtvRUGNE6rNHlmIk8P/GAQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=proxmox.com;
	spf=pass smtp.mailfrom=proxmox.com;
	arc=none smtp.remote-ip=94.136.29.106
X-Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B044606A41F;
	Tue, 10 Nov 2026 10:23:52 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1B044606A41F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=proxmox.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proxmox.com
X-Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
	by proxmox-new.maurer-it.com (Proxmox) with ESMTP id D3522421B3;
	Tue, 10 Nov 2026 11:23:50 +0100 (CET)
X-Cc: David Ahern <dsahern@kernel.org>, 
	"David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, 
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, 
	Nicolas Dichtel <nicolas.dichtel@6wind.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
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: <20261109090505.GA1495012@shredder>
X-User-Agent: NeoMutt/20260504
X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2
X-Bm-Transport-Timestamp: 1794306229935