Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1775120DD48 for ; Wed, 11 Feb 2026 13:49:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770817786; cv=none; b=s7LnWs3IO9hlnqbrd8xO8l2DWJW7dv92+Qob/4D4HTyjlsariiOdSSO5YrMlHnyUGrspHSmUggxatES2TA5SBNGywTzvyDSsSV1Uj5HlQAV5y2POv2BDGl1bVUemzqD7Uj1pZ+D+V8e6ijBdmpJuIILzz6UhX5wx//zNo1TQ8GE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770817786; c=relaxed/simple; bh=+sDedu1pFb7/6RahhERpL+g5yqWpcAa58pyj4TbQ+MU=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OvCmWrzGHLC7Gs8puFSsj/x1kvOKZikPoB3Oh535dstiuo8zrBL/deCVirAuG8HJbWzwgygZGibeH/g1X0lLOotAY89ibKESUMj7nVlBtFvxdmBwdaBWeEIkWYqEVCQHNMS4BELJflikEUKWYdGnloOw8wHupQ5mAv5KpF2S5yU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id 067DA605E7; Wed, 11 Feb 2026 14:49:42 +0100 (CET) Date: Wed, 11 Feb 2026 14:49:42 +0100 From: Florian Westphal To: Phil Sutter , Pablo Neira Ayuso , Alyssa Ross , netfilter-devel@vger.kernel.org, Joshua Lant Subject: Re: [PATCH nftables] include: fix for musl with iptables v1.8.11 Message-ID: References: <20241219231001.1166085-2-hi@alyssa.is> Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Phil Sutter wrote: > On Thu, Jan 09, 2025 at 01:03:25AM +0100, Pablo Neira Ayuso wrote: > > Hm. I am looking at include/uapi/linux/netfilter_bridge.h and... > > > > #include > > #include > > #include > > #include > > #include > > > > I don't understand why all those #include need to be there, this > > header file contains only defines an enumeration... git annotate takes > > me to: > > > > 607ca46e97a1 ("UAPI: (Scripted) Disintegrate include/linux") > > > > Silly question: Does it break any netfilter userspace software if > > #include is moved from that kernel header file to > > to the non-uapi netfilter_bridge.h header file. > > Silly counter question: Does removing an include statement break UAPI? Yes, it risks uapi breakage. > BTW: I see only a single UAPI kernel header include from netinet space > (include/uapi/linux/mptcp.h) and it's for compat reasons (06e445f740c1 > ("mptcp: fix conflict with ")). Speaking of which, what if > we added: > > | #ifndef __KERNEL__ > | #include > | #endif > > early into include/uapi/linux/if_ether.h? Aside from any header caches, > this should fix all of user space at once, no? Phil, would you send a formal patch to make this workaround *ONLY* in netfilter_bridge.h (06e445f740c1)? That way the fix can be propagated to nftables.git without having to adjust cached headers on every update.