🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8197

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

#8197
From: Gabriel Goller
Date: Wed, 28 Oct 2026 10:55
30 lines
8484 bytes
On 25.10.2026 15:11, Ido Schimmel wrote:
> On Fri, Oct 23, 2026 at 12:59:18PM +0200, 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.
> > 
> > Fixes: f24987ef6959 ("ipv6: add `force_forwarding` sysctl to enable per-interface forwarding")
> > Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> 
> This seems to fall under the "Not a regression, not critical" category
> [1], so can wait for net-next.

Agree, will post when net-next opens again.

> Also, NETCONFA_FORCE_FORWARDING is not emitted when it's disabled as
> part of:
> 
> sysctl -wq net.ipv6.conf.all.forwarding=0
> 
> Is this intentional?

Nope it isn't. Will fix in the next version.

Thanks for the review!
Gabriel

> [1] https://lore.kernel.org/netdev/CAHk-=wiSnTE9vBZ=5_v+3EEkdazCCbBM5YABRzRHUAeRdyd4Xw@mail.gmail.com/
Technical Details
Message-ID: <auHUbzlVvz7dPJIb@luna.proxmox.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352816-linux-kernel-netdev=dewy.ru
References: <20261023-ipv6_add_netconfa-v1-1-94d14b07d621@proxmox.com> <20261025131102.GA184152@shredder>

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-352816-linux-kernel-netdev=dewy.ru
From: g.goller@proxmox.com (Gabriel Goller)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] ipv6: Add NETCONFA_FORCE_FORWARDING to netconf
 messages
Date: Wed, 28 Oct 2026 11:55:35 +0100
Organization: Usenet Network
Message-ID: <auHUbzlVvz7dPJIb@luna.proxmox.com>
References: <20261023-ipv6_add_netconfa-v1-1-94d14b07d621@proxmox.com>
 <20261025131102.GA184152@shredder>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="1753267"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wlhd622MzLypLKBs5I70S3nkLGQ= sha256:7FQB5yCm56X+wzv15PGfTzfdJNTsF0bOWLEFBMbIDmY=
	sha1:44fJgOkWP3e3+e/TI8Nj4pvlF0I= sha256:a2so9sFVISWj6qXklzz713WDX3LYSGYUnOewkMACkQE=
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 60851125C35; Wed, 28 Oct 2026 13:59:17 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Status: No, score=-2.45 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, PDS_BTC_ID=0.5, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-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 CD8vs0tTbywd;
	Wed, 28 Oct 2026 13:59:14 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352816-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id E4EEA125C34; Wed, 28 Oct 2026 13:59:10 +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 1BC952AD09; Wed, 28 Oct 2026 10:55:41 +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=1793184941;
	b=fsAKfD9Ku/kLbcHc62+5Jc3pdPCqpaHjPnPrj24sF7AtBeiVWFjhNV02Uj1XNNGp/L7J
	 i+l415BQTKP2kE5ewl3+V47qssvrr4eTmB7Ssy3uCzyZAHjhoTSWqPOTyTd4R5ls5YFS9
	 p9Y9DaxmTjJtOeVbnAvcofc2PgG7Hg49/bpjCfNHWma/WOCmZHWFPlrQGeBsUUfwEo/xo
	 LYEuRYADYGFQ97eN2XIdeE0py3YBQeh3/uIg5O3aImTX/vLhiIXApqFV7JPxLKx2zry6h
	 T6R6lTllSapRRs8aKZiFVkB514fE/JZFJNlJ+ulOXHEB3yZvKngArFpChu8bJ7bI/hQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793184941;
	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=nqGI5iIj7DnVlrNFIVTngPrJ156e0Iy02VG27UnIg6E=;
	b=oCCjcqMaxqxRCfHXepCd+Y6B2kt7njmdiREouV5t2yaodu1UCGHXJA/qCC6MROVsNcc7
	 IIhqQSe5FjSYn5Od6YdM2tk1MHgpb7apI1Tb1e8YF7VgESo0q8M2SZe7Qc6yR74xCH6gb
	 br668zIAx4UWRP7oWSWf+beSglV3Es637gxkLFQSiITfogC7atY4Ni3S7Kb9RbfR1SfEz
	 RrBCpMHGkQHhvfsE/8ur8+mQ/drRGGSvmMsxW/sQpD5Mq5RC3VY9+NR9t8GO7iRi4k+mf
	 umyOR3NC5+blWQvbNdTz6K+I5MVrgXGPljWXUlJz+LA8Epgsd3+XOtyOFJ8Ag50f8QA==
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 E93F8606A31C;
	Wed, 28 Oct 2026 10:55:40 +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=1793184940;
	b=XxBQ+Sc1S47tom9GZAkfBVc9k6jRu1ZlQ604ieF8itO8PvyGt1mDNPYVukRGg2YZyOto
	 v5QeHh1nN8z50X8x5mfzxhIUTAmpR143rEpGHB0W5qR+XNEbpNSNCsbngbqXSPwY/673g
	 4VmWPFtYXsiiWWfco/WZtLZlS430QyXFt5PrrrknVIFH8QagwuPrTH1KYTbQHCpAtLhdD
	 ms+2rwZhXy9CQ6yN3Jbn4JlAfqFC926HtCHFrcKIoAYVgqRPebQUtupDGH0a4eldej596
	 tttnHKDqhoQ7mZJeAfySKkbIhZWJHQMS2MaVtnXNHP+So3QkBmwQ+EHGj+lxSa3K2sg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793184940;
	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=nqGI5iIj7DnVlrNFIVTngPrJ156e0Iy02VG27UnIg6E=;
	b=Bd2dTqg8TRuiOMYKzVR7TE6H8rxUAta97IW7FmxlGFIDywI8XBjF03Wjvatt7DEQya6b
	 bqT3ytxTsVEkrKceV2+vw8IdcaaMdK2RGATaNlKC+zF86O7Gs3xNZ4E139NxXC+xvuluV
	 rpVx7iZ3bEvHfcHxR5VmJ+ZMMDiNPcV9mDv67lClo+AbAA+dpYb01tf5ZbZY9c26AN7yI
	 5/BjrwxJnR06WBvmqD8CkuyzDhLLcilfH7yPCgkrUIfeoHRIrNqldvBk1UQ0UZpIpRpPQ
	 lGHg3hqmX0eAUcuaOhMegbe2WcJDtSTM8dRFEAsf5hPOCE4q2xt59geZVFttBPo+Z5A==
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))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57FD8606A31A;
	Wed, 28 Oct 2026 10:55:39 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 57FD8606A31A
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 5B1F342E5D;
	Wed, 28 Oct 2026 11:55:37 +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: <20261025131102.GA184152@shredder>
X-User-Agent: NeoMutt/20260504
X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2
X-Bm-Transport-Timestamp: 1793184936511