From mboxrd@z Thu Jan 1 00:00:00 1970 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 5F9FA39C643; Thu, 5 Mar 2026 12:20:46 +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=1772713251; cv=none; b=RrVuuVPqxI9ZyqCaXCNKZjwStJfPotX8PO3XwT7kO3MeYhm7R9mTjRnrPkQWDfDH3DHiq9jie6uXuJNQdlmdsGjzmjEEz/dz/Sb6atJ5WB1fB9ww/2byG+ejIfyzDIbYk+jX0HUJcajF6ifvQgeODPWD1A/QLgCmM8ohXXun8h8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772713251; c=relaxed/simple; bh=cAqafkhKv1XbRiaXRprWqxJBjtu3RCVvAOegzaeIZoo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TvVCrAYEGmLAJ/VAFG8da3K7AhrHEVPIw53fUQzKii0elAcBxOCEXoGm32bs6Cda7dD/olHcZzuT79afUusXC0LDUTmCFhMkDhpETb1HrIC1CQy4r8MsNX5e4nzyEZ1vuOy9eMX4EoEcSwtsawwztD1RqODxo4xN3BuniRMwO1o= 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 0E9B460216; Thu, 05 Mar 2026 13:20:44 +0100 (CET) Date: Thu, 5 Mar 2026 13:20:43 +0100 From: Florian Westphal To: Pablo Neira Ayuso Cc: netdev@vger.kernel.org, Paolo Abeni , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netfilter-devel@vger.kernel.org Subject: Re: [PATCH net 0/4] netfilter: updates for net Message-ID: References: <20260304172940.24948-1-fw@strlen.de> Precedence: bulk X-Mailing-List: netdev@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: Pablo Neira Ayuso wrote: > > Yes, it looks broken. I wonder why we have no tests for this stuff. > > First a vlan push function that cannot have worked, ever, now this > > seemingly reversing-headers variant: > > This used to work, I just accidentally broke it when using > skb_vlan_push() in net-next. > > I will post fix. Ok, thanks. > > For PPPOE, its pushing the ppppe header to packet, so we get > > strict ordering, later header coming in the stack gets placed on > > top, before older one. > > > > Here, first vlan push gets placed into hw tag in skb (which makes > > sense, let HW take care of it). > > > > But if 2nd comes along, then that gets placed in the packet > > and the hwaccel tag remains? > > > > What to do? Should be nuke vlan offload support from flowtable? > > It appears to be an unused feature. > > > > I have low confidence in this code. > > Could you elaborate more precisely? Add bug in nf_queue -> kselftest will likely barf Add bug in nf_tables control plane -> nftables shell and/or python tests will likely barf Add bug in conntrack -> kselftest will likely barf Add new bug in flowtable vlan -> nada. I think we should refuse both new features and refactoring patches going forward unless they come with either update to existing kselftest, or a new test or a test in nftables.git.