Article View: linux.kernel.netdev
Article #11990Re: [PATCH RFC net 2/3] netfilter: nfnetlink_queue: fix batch verdict ordering across large ID gaps
From: Florian Westphal
Date: Fri, 06 Nov 2026 04:45
Date: Fri, 06 Nov 2026 04:45
12 lines
7548 bytes
7548 bytes
Alireza Asgari via B4 Relay <devnull+alireza.asgari.net@kernel.org> wrote: > From: Alireza Asgari <alireza@asgari.net> > > Signed 32-bit ID differences do not order packets separated by half an > ID cycle or more. Queue length does not bound this distance: an old > packet can remain queued while newer packets receive individual verdicts. > For IDs [1, 0x80000002], batching through 1 incorrectly selects both. > For [1, 2, 0x80000003], removing 2 before batching through it also selects > both remaining packets instead of only 1. BATCH verdicts require strict in-sequence ordering.
Technical Details
Message-ID:
<au1bbkpwnSzzb3l4@strlen.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357735-linux-kernel-netdev=dewy.ruReferences:
<20261106-nfqueue-review-v1-0-b6c933f44943@asgari.net> <20261106-nfqueue-review-v1-2-b6c933f44943@asgari.net>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-357735-linux-kernel-netdev=dewy.ru From: fw@strlen.de (Florian Westphal) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH RFC net 2/3] netfilter: nfnetlink_queue: fix batch verdict ordering across large ID gaps Date: Fri, 6 Nov 2026 05:45:34 +0100 Organization: Usenet Network Message-ID: <au1bbkpwnSzzb3l4@strlen.de> References: <20261106-nfqueue-review-v1-0-b6c933f44943@asgari.net> <20261106-nfqueue-review-v1-2-b6c933f44943@asgari.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3795531"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:TL6KHTuVvUVAlP1Z0cux7NOsCUU= sha256:/cXNRdF/9142MZRcwKUARFuzD3vng8pSW/5x98H7354= sha1:q+kPmTd49SWOOFND+8a7s+e+eo4= sha256:6FRfdFo2cH2YWspHZoy9c6A8P3Osl3B/xKy6gj7gHJk= 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 A5BF3113152; Fri, 6 Nov 2026 07:49:50 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.951 X-Spam-Status: No, score=-2.951 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] 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 cdx8lJVbuK1K; Fri, 6 Nov 2026 07:49:47 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-357735-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=strlen.de X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 553C211314D; Fri, 6 Nov 2026 07:49:41 +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 856CD25DF4; Fri, 6 Nov 2026 04:45:50 +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=1793940350; b=g2P/2L2DjawLr/HR34aHHqFu3QO7rTvO+6dKKX1B+K86BYuithbjWpz0iOdescaawVyx iHk7eVSI6Hh3gQAybJQJptTCJ8S2GNqMyy/0ukUkgO/5mIlwqDks8eX44KTZIpuqarK62 wUt/2MZmaUliYLbrI82hK8WoiuImP6NVcLAg5TTrwiI7zYqZdmzzs/+4RVObPS86qVD0T SMczfkEhBl1PVTzPJgoISyVwn4t7d21OS9vTi2Vx3A93cjJuFCHQeChdt6klcPXcc9sDR MFUwr/i2+kjyypMGOSoEerq1yS6ZP2kbf5S9Eawf5HQexuOfyPGIMOHiudYeiJ152zA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793940350; 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; bh=4vaHZLIW0SPZkIRMSxFNq27ulwhfeMcZ9wy5M8gPylg=; b=ouoxswOhnydB+NU/giEL4nr5BfJqiDID5X0dV6AkTtiIKSrlksi3nNIr/AgsqVamB1As JgeP0hsTN7uImo9VBjZgj3qefGekpXySP0jKL7yzgGXSd/lixdYL+AuDF1UIriFvOQTEL Eu8yqiW8qR9C5Y4mLkzuQ5KTsWDn6DZUuzvfaQzSUUGSTD1qXqUdOKwzi+JXFwwjWVGOT bJ9B599sUdNeaDk58Y0yQisqwKoBQoX7ywXSZlqSg1symM6ia+gGkhoJ08595tRTtA5aK tGqmn0HfwqgV+Gyk6eFzgvsSCtRYYfvceGZtr0FzYw2zoXjejce8GHRA5b5P0axee/g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; 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 223BE606A32D; Fri, 6 Nov 2026 04:45:50 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.216.245.30 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793940339; b=fYD/aMO9FSrSSuOXirgeIJVKbRKdk5xVzI4O5JbGYjMVV1tzzDnfkFJREyJ4fq8K3+ff rSANDpDMV5T1oTCaiVJiSOZL8p+DMls5j5xk7IOKrM0C1bNzeVX084WeYGQRp+5vCXmV2 kFcXbDV4vC1RJJ22J9dZyn9c0jCjnqMt0nrQFYWD0ifRe0klffE1mYH2DKF1eCWvVotsy LsGJ13zYImqp/kMDW/5P7ApI6111HpDC97z1lcyVNadGyz0fc8VUuo8xYGUW7ArRQRfej mJACjZRJ09n7NWDeISdNQlJt8sToqudRGEQxkX90LxlLP2rAvl0MtJx5jejUP1x03lg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793940339; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=4vaHZLIW0SPZkIRMSxFNq27ulwhfeMcZ9wy5M8gPylg=; b=V6IEAaRgYQgfrdhI9MqMBLIng5cU28bLto+b01Nvg27BzO8mPW25rXEoDPlr+mSZoIFG R9yFyVbPt4u5KBv9XjXL3inKJ1BxGVdWxzmHpwe/e9dowWgNwcV6vqHlLj2iGyj1MKWeA 8i023e/Md043tstAkZtRuuG4ChX9DW1SuXenX6aq9hZxQ82zx8KYtrlOI1rwD85ZMrEVJ YjSTjWgozNO7iyRuYBDOi0YuUYJC3Lb5O/+jltVXsOlLwQlJVpADZw8AorhG2SMHz9kEr PbF1Tx+Nhm+utEOAfb+3TYZXq+7v38jvasqvh3a8yV/KkPqzQjpHp7HG8ivw9IoWZIQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.remote-ip=91.216.245.30 X-Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (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 13EF7606A31B; Fri, 6 Nov 2026 04:45:37 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 13EF7606A31B X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de X-Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id 439836060B; Fri, 06 Nov 2026 05:45:35 +0100 (CET) X-Cc: Pablo Neira Ayuso <pablo@netfilter.org>, Phil Sutter <phil@nwl.cc>, netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, kunit-dev@googlegroups.com 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: <20261106-nfqueue-review-v1-2-b6c933f44943@asgari.net>