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 4D4881A6800 for ; Fri, 20 Mar 2026 11:47:26 +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=1774007247; cv=none; b=E8yTkeOP5D5BDbeabxAe0Az6psJvv8wRf8B5iXNe4b86IFpRlXWsXJOux+TqjA6qrX7TnBZJohoVpkrtlWdGNZHow0iSsEbzmgLRSnBOm93gf7m8ckRFbB/QdDZs+HxJLWYXQKXtxNp+DkOA5c0yehHvk3DIwJolbClaXI2y1L8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774007247; c=relaxed/simple; bh=S9zoxZm219qSC+Ioy70FND7phXJtbI115058U3z+dNI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DgZzCTzsB4gSjgiWtaVJ+TF3QUCkRZVOxbyb72S6sckkod/zf81xCJuaz5rndEBBNZXqt5KEYguxeX0AGOZQf3Wn8ad94FeOz0lkXfFIiyU1eP46XMrckuori7X15QJm5Q8l1q1V0AT5hWlhSZaolBPXvn/ftODzqv67Onc56FQ= 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 3C70A6080C; Fri, 20 Mar 2026 12:47:24 +0100 (CET) Date: Fri, 20 Mar 2026 12:47:23 +0100 From: Florian Westphal To: Phil Sutter Cc: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org Subject: Re: [nf-next PATCH] netfilter: nfnetlink_hook: Dump nat type chains Message-ID: References: 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: > > Sure, but <=nftables-1.1.6 will still get it wrong. Can we tolerate > > that? > > The kernel could dump them in reverse. :D WTF, no no no. The kernel is fine, this is a userspace bug. It wasn't noticed because typical configurations don't add same-prio hooks. Userspace MUST dump in the order received so the dumped list reflects the actual execution order.