Article View: linux.kernel.netdev
Article #16806[PATCH RFC nf-next 6/9] netfilter: nfqueue: account saved skb bytes per queue
From: Alireza Asgari via B4 Relay
Date: Sun, 15 Nov 2026 22:34
Date: Sun, 15 Nov 2026 22:34
230 lines
19516 bytes
19516 bytes
From: Alireza Asgari <alireza@asgari.net>
The packet-count limit does not bound how much skb memory a queue can
retain: packets with different truesize values consume the same one
entry. Add a local byte allowance alongside the existing packet limit.
Derive the allowance from queue_maxlen times an aligned skb shell plus
a nominal 2048-byte complete head. This is a proposed policy, not a
promise that every packet fitting a nominal payload size is admitted.
Page-backed receive heads can exceed the allowance of a small queue.
Record admission-time skb truesize only after insertion succeeds. Keep
that saved cost while verdict handlers detach entries, and subtract it
before reinjection, including early consume paths. Undo it if the
userspace notification fails. Later payload replacement does not change
the saved cost. Segmented packets account each inserted segment.
Use subtraction-based admission checks that remain safe after a live
limit reduction. Retain existing entries when shrinking and refuse new
ones until both limits permit admission. Byte refusal follows the
existing drop or FAIL_OPEN policy.
This implements the local accounting part of Florian Westphal's
suggestion; shared owner accounting follows in the next patch.
Link: https://lists.openwall.net/netdev/2026/11/06/366
Signed-off-by: Alireza Asgari <alireza@asgari.net>
---
include/net/netfilter/nf_queue.h | 1 +
net/netfilter/nfnetlink_queue.c | 59 +++++++++++++++++++++++++++++++++++-----
2 files changed, 53 insertions(+), 7 deletions(-)
diff --git a/include/net/netfilter/nf_queue.h b/include/net/netfilter/nf_queue.h
index 4a8cefd8398d..5644a1ad32d5 100644
--- a/include/net/netfilter/nf_queue.h
+++ b/include/net/netfilter/nf_queue.h
@@ -16,6 +16,7 @@ struct nf_queue_entry {
struct sk_buff *skb;
struct net_device *skb_dev;
unsigned int id;
+ unsigned int truesize; /* saved NFQUEUE charge, zero if uncharged */
unsigned int hook_index; /* index in hook_entries->hook[] */
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
struct net_device *bridge_dev;
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c
index 862d2a762106..d1e6e02e144b 100644
--- a/net/netfilter/nfnetlink_queue.c
+++ b/net/netfilter/nfnetlink_queue.c
@@ -92,6 +92,8 @@ struct nfqnl_instance {
unsigned int queue_total;
unsigned int id_sequence; /* 'sequence' of pkt ids */
struct list_head queue_list; /* packets in queue */
+ u64 mem_limit;
+ u64 mem_used;
};
typedef int (*nfqnl_cmpfn)(struct nf_queue_entry *, unsigned long);
@@ -138,6 +140,28 @@ instance_lookup(struct nfnl_queue_net *q, u_int16_t queue_num)
return NULL;
}
+static u64 nfqnl_mem_limit(unsigned int maxlen)
+{
+ /* Match the skb shell alignment included in skb->truesize. */
+ return (u64)maxlen * (SKB_DATA_ALIGN(sizeof(struct sk_buff)) + 2048);
+}
+
+static bool nfqnl_mem_full(const struct nfqnl_instance *queue,
+ unsigned int truesize)
+{
+ return queue->mem_used > queue->mem_limit ||
+ truesize > queue->mem_limit - queue->mem_used;
+}
+
+/* All release paths use the saved admission cost, including notification undo. */
+static void nfqnl_mem_uncharge(struct nfqnl_instance *queue,
+ struct nf_queue_entry *entry)
+{
+ lockdep_assert_held(&queue->lock);
+ queue->mem_used -= entry->truesize;
+ entry->truesize = 0;
+}
+
static struct nfqnl_instance *
instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid)
{
@@ -152,6 +176,7 @@ instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid)
inst->queue_num = queue_num;
inst->peer_portid = portid;
inst->queue_maxlen = NFQNL_QMAX_DEFAULT;
+ inst->mem_limit = nfqnl_mem_limit(NFQNL_QMAX_DEFAULT);
inst->copy_range = NFQNL_MAX_COPY_RANGE;
inst->copy_mode = NFQNL_COPY_NONE;
spin_lock_init(&inst->lock);
@@ -199,6 +224,7 @@ static void instance_destroy_work(struct work_struct *work)
rcu_read_lock();
nfqnl_flush(inst, NULL, 0);
rcu_read_unlock();
+ WARN_ON_ONCE(inst->mem_used);
rhashtable_destroy(&inst->nfqnl_packet_map);
@@ -235,6 +261,8 @@ __enqueue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry)
list_add_tail(&entry->list, &queue->queue_list);
queue->queue_total++;
+ entry->truesize = entry->skb->truesize;
+ queue->mem_used += entry->truesize;
return 0;
}
@@ -493,7 +521,7 @@ static bool nf_bridge_ports_valid(const struct nf_queue_entry *entry)
return true;
}
-static void nfqnl_reinject(struct nf_queue_entry *entry, unsigned int verdict)
+static void __nfqnl_reinject(struct nf_queue_entry *entry, unsigned int verdict)
{
const struct nf_ct_hook *ct_hook;
@@ -544,6 +572,15 @@ static void nfqnl_reinject(struct nf_queue_entry *entry, unsigned int verdict)
nf_reinject(entry, verdict);
}
+static void nfqnl_reinject(struct nfqnl_instance *queue,
+ struct nf_queue_entry *entry, unsigned int verdict)
+{
+ spin_lock_bh(&queue->lock);
+ nfqnl_mem_uncharge(queue, entry);
+ spin_unlock_bh(&queue->lock);
+ __nfqnl_reinject(entry, verdict);
+}
+
static void
nfqnl_flush(struct nfqnl_instance *queue, nfqnl_cmpfn cmpfn, unsigned long data)
{
@@ -553,7 +590,8 @@ nfqnl_flush(struct nfqnl_instance *queue, nfqnl_cmpfn cmpfn, unsigned long data)
list_for_each_entry_safe(entry, next, &queue->queue_list, list) {
if (!cmpfn || cmpfn(entry, data)) {
__dequeue_entry(queue, entry);
- nfqnl_reinject(entry, NF_DROP);
+ nfqnl_mem_uncharge(queue, entry);
+ __nfqnl_reinject(entry, NF_DROP);
}
}
spin_unlock_bh(&queue->lock);
@@ -1004,6 +1042,7 @@ __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue,
__be32 *packet_id_ptr;
int failopen = 0;
+ entry->truesize = 0;
nskb = nfqnl_build_packet_message(net, queue, entry, &packet_id_ptr);
if (nskb == NULL) {
err = -ENOMEM;
@@ -1011,7 +1050,8 @@ __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue,
}
spin_lock_bh(&queue->lock);
- if (queue->queue_total >= queue->queue_maxlen)
+ if (queue->queue_total >= queue->queue_maxlen ||
+ nfqnl_mem_full(queue, entry->skb->truesize))
goto err_out_queue_drop;
entry->id = ++queue->id_sequence;
@@ -1027,6 +1067,7 @@ __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue,
if (err < 0) {
/* Unicast failed - remove entry we just inserted */
__dequeue_entry(queue, entry);
+ nfqnl_mem_uncharge(queue, entry);
if (queue->flags & NFQA_CFG_F_FAIL_OPEN) {
failopen = 1;
@@ -1050,6 +1091,9 @@ __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue,
if (queue->queue_total >= queue->queue_maxlen)
net_warn_ratelimited("nf_queue: full at %d entries, dropping packets(s)\n",
queue->queue_total);
+ else if (nfqnl_mem_full(queue, entry->skb->truesize))
+ net_warn_ratelimited(
+ "nf_queue: byte limit reached, dropping packet\n");
else
net_warn_ratelimited("nf_queue: hash insert failed: %d\n", err);
}
@@ -1057,7 +1101,7 @@ __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue,
err_out_unlock:
spin_unlock_bh(&queue->lock);
if (failopen)
- nfqnl_reinject(entry, NF_ACCEPT);
+ nfqnl_reinject(queue, entry, NF_ACCEPT);
err_out:
return err;
}
@@ -1773,7 +1817,7 @@ static int nfqnl_recv_verdict_batch(struct sk_buff *skb,
if (nfqa[NFQA_PRIORITY])
entry->skb->priority = ntohl(nla_get_be32(nfqa[NFQA_PRIORITY]));
- nfqnl_reinject(entry, verdict);
+ nfqnl_reinject(queue, entry, verdict);
}
return 0;
}
@@ -1885,7 +1929,7 @@ static int nfqnl_recv_verdict(struct sk_buff *skb, const struct nfnl_info *info,
if (entry->state.pf == PF_BRIDGE) {
err = nfqa_parse_bridge(entry, nfqa);
if (err < 0) {
- nfqnl_reinject(entry, NF_DROP);
+ nfqnl_reinject(queue, entry, NF_DROP);
return err;
}
}
@@ -1907,7 +1951,7 @@ static int nfqnl_recv_verdict(struct sk_buff *skb, const struct nfnl_info *info,
if (nfqa[NFQA_PRIORITY])
entry->skb->priority = ntohl(nla_get_be32(nfqa[NFQA_PRIORITY]));
- nfqnl_reinject(entry, verdict);
+ nfqnl_reinject(queue, entry, verdict);
return 0;
}
@@ -2037,6 +2081,7 @@ static int nfqnl_recv_config(struct sk_buff *skb, const struct nfnl_info *info,
spin_lock_bh(&queue->lock);
queue->queue_maxlen = ntohl(*queue_maxlen);
+ queue->mem_limit = nfqnl_mem_limit(queue->queue_maxlen);
spin_unlock_bh(&queue->lock);
}
--
2.34.1
Technical Details
Message-ID:
<20261115-b4-nfqueue-memory-accounting-v1-6-b9cc30819997@asgari.net>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363889-linux-kernel-netdev=dewy.ruReferences:
<20261115-b4-nfqueue-memory-accounting-v1-0-b9cc30819997@asgari.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363889-linux-kernel-netdev=dewy.ru From: devnull+alireza.asgari.net@kernel.org (Alireza Asgari via B4 Relay) Newsgroups: linux.kernel.netdev Subject: [PATCH RFC nf-next 6/9] netfilter: nfqueue: account saved skb bytes per queue Date: Sun, 15 Nov 2026 22:34:46 +0000 Organization: Usenet Network Message-ID: <20261115-b4-nfqueue-memory-accounting-v1-6-b9cc30819997@asgari.net> References: <20261115-b4-nfqueue-memory-accounting-v1-0-b9cc30819997@asgari.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="1918365"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:K3eBhN2C7sr0YdDicvP/YfYuIHs= sha256:I2V7EZ7iBzSrG/X3HBX5+A1bNxqSJvz4yvjPUvqoYmk= sha1:gKFWR4Z5qtBXs94EkAdJ0MG84bc= sha256:0V9eYXPECsZVVT/ZIVt08POS9kVV8e2t23HRvC9e40k= 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 A2986114A88; Mon, 16 Nov 2026 01:35:23 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org 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 xSiI-rnq2ttx; Mon, 16 Nov 2026 01:35:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-363889-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id A83D9114A84; Mon, 16 Nov 2026 01:35:11 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 454862F2B5; Sun, 15 Nov 2026 22:35:01 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794782097; b=UStC/9SQvIB7rNoXbL+1nSfiNqg9wttvvlHLxsTI0FyMs7LO+fdnxRdMkkVwh4aPWC9A UG6VYSbN27sV3UbJkhQO8sD5YPLJ/Woh5Ms2Pm3FL3acSNDFWYZCZXTZ7Ch5Hfko5TDW8 PMzLcEbfWMkI6r0BD5//q+M9XBmpHpuZxljcdmE2ZfC2dNT4ceO/fpDW4mghic2i1XDik jsB9C6+MaEaLwH807ddVUbZDkf0bdkLHgAcXzDlCFtK9CY6VphxZZvv3HeHqr+KmE+Itm a3t13WcSsbOJTdcvuz1HCoVe2NH3Bj1Mtl6pdgGekwHN0eVRJTho8YXIcIPF02lo20w== X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794782097; h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date: Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=pqczHe4Cm0qmJ6912SxcOWo52myBz3hiM5iIE2Sijfk=; b=2fd9spJdJ05IFsIih2qF20Qhg5V/IeadseGWSmLFs7dVslgdYq35hvTkTAOlP/sd+/ZO uA+cMbskhgJ/AdX1nl8HVvkRS/0K4joOVj5wext+IHsvH7z9IyRmEiObvPN+609sDxN2D c4BLKd7draGsmWeImtKxmGzvVFogbYdE6Ps9ocGvgfv7C2dRt9QR4oI1jlHrWpze85bGC enJZhbakgeY7RLa7/077LnKXozXOTheIMvJGJ/DcT+apOf8HQTi2AK7YvuKcJY4la1dvc rFqWwrUCXqqIzpfNSdgsRn423wiIEAeSZMy//QaI8xp63QhXCtmnlaneNTYzs4HCzJg== X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Yb90OE87; 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 7123E606A330; Sun, 15 Nov 2026 22:34:57 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Yb90OE87 X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794782086; b=wziC6m3NiKFHtwUisS9j208AFhk7xbSI5CrmgSbZ7AxkhPm169AhfSyYz39nD0zU/v90 EUWnAAiXjK5uIRkE12a3ITfc4FbLgjyoP0Og2XiSohf6QNedK3p8SB+BXSQeWwIm6HGEV lZH8HEiRhxJytUSc627OueLhRzc0Yckvb0fw+lRlb31Qnc19TkihXHqY3OipiCmEAx3mO yAU9zqWegCgjLn7GGzEFMVuTkYFjqmu4zYlBpbfA90Mw33giLIOwCl7K9eXRO01eXdq/s 8dw/D3mocGmNrOeipA+uKihzdjUk5hbkO3bOVfr5yPjrEiabJsVgi9y6jVG+g7JwWKg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794782086; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=pqczHe4Cm0qmJ6912SxcOWo52myBz3hiM5iIE2Sijfk=; b=HHXDGwkrxmd2YMAeUxcZuycE/Ek56lu73fQD+/WbYOkYZ0SFv0koAdi9RrKQEmoKls3T e3M7qA3cmxgcvbnsOEtWSukWTpCWuc+R+LcBq3eRCzO9kth+YlmgQ4hcHeMu6o5d6lFSn yFte4fYwM4PfCcYI7uLBEMiWjjmMM+Mp95P9eln8nmSijqQGFVCAb5Kz1MXO9RIMOfzs0 JZSZ/kN0POCB4iysteldE0ZMAhi6kaHaNrep2yactccOuRoFH6qlOxB5V0okOa0MH6/ST +pNKudZOfG4oWKTmo2m4xLbWs5Ntdr/5DBgVUOOfRzf15EMSSL/Q4NhEfpsZnNcTHBQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Yb90OE87; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (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 8D2BC606A881; Sun, 15 Nov 2026 22:34:46 +0000 (UTC) X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1794782086; b=rlmRvyY3q9DcTsMo5ynO5jQ7r8bfj9j5npraBuYe8KFS1SI89GSwYmeeK0uoxJWcnT3h ZlX5aOd6SOXsn3cHjwDPh46riW1g9I6ayOFR2k+yzb2yaOHrGBNyggNOoqxqO0tRfQLCg +VRCBbLxM4G7OGO5rLdAdE2DQMP5cikfZ9FJfW5Py7PwUd37Fo0rGQSmmlse/1K0vDoWn iSXbMBrGyjvrd8TlMDnw0FzaMHruX0QBf82IpQ/hOqWm+UBRKrbZHgRiK454N4I88D3vy ewpkWyamvVYal0FDO8psgEfLXdhEebnhuWJ5ohTr+VhwIX/ROYkqA0uG5Xz1rcs1znQ== X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1794782086; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=pqczHe4Cm0qmJ6912SxcOWo52myBz3hiM5iIE2Sijfk=; b=JvmV8xz4nvcVuPwWy3WNsqxEnK0Zo+CM9gxf7qGdB/AXDKVHREcIoTCrtumFV5hoEajS LOMVEj71JXro8viNvqxQFZPjVXqTl1aTZe90VWU6jwscXmVlxYqLkDHx7muPNFlcKqidK kDlUMqIcJ5IGSYtefapw7v7fco2N8dmDGkqaCVtEwYnrufyQMCVOtR8SVAfzcj9hsfVnj 8/f4CEvwVJ9Hv74M8MZgSmG/J22GJtzD15LeWH2FXoSpoz33+HoxdH80rD55OZXGEBIpp VNih2OSfl9Li0LqDMm9I/5E7o/UVFAQ5wEa8dsKqDtytrcztHue2k4NEYrk7Q1H8l6w== X-ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (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.kernel.org (Postfix) with ESMTPS id DCC571F000CC; Sun, 15 Nov 2026 22:34:44 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794782086; bh=pqczHe4Cm0qmJ6912SxcOWo52myBz3hiM5iIE2Sijfk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=Yb90OE87XholEcT+l3AVhBB22W/ClnAHxlqgXPDHlycurVzyYM1R/8t4fC3qd6sdG KzH507+WCFHcW4YlCSTRyhz6IrSWKDzhKo9LV8xs+6l0gZQKZINkGsIS19X8tq7fbU Vv0L3AODRPnnd8bBiNYSTCGAb81BtnLLrDWylJKw4Vz/5IfKXQDTuojvQc0XYmBjiC yKZ5Eo8S/V0JUJeGr3TBJvw4c31WnUbRE303hU+RTovwdydUD3Y5fE2Rw1/ga6aQDy /ZMclWzzT7JBrzl3bbXSjdE03meAqhYP7TXwfKOwKzpesSEygPI5mnTaC7lvqigLxQ NgOX+hMJ4CsiA== X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id BFC504A255; Sun, 15 Nov 2026 22:34:43 +0000 (UTC) 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: <20261115-b4-nfqueue-memory-accounting-v1-0-b9cc30819997@asgari.net> X-Cc: Johannes Weiner <hannes@cmpxchg.org>, Michal Hocko <mhocko@kernel.org>, Roman Gushchin <roman.gushchin@linux.dev>, Shakeel Butt <shakeel.butt@linux.dev>, Muchun Song <muchun.song@linux.dev>, Andrew Morton <akpm@linux-foundation.org>, David Hildenbrand <david@kernel.org>, Pablo Neira Ayuso <pablo@netfilter.org>, Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>, Shuah Khan <shuah@kernel.org>, Tejun Heo <tj@kernel.org>, Vladimir Davydov <vdavydov.dev@gmail.com>, Chris Down <chris@chrisdown.name>, Zhang Jiao <zhangjiao2@cmss.chinamobile.com>, Song Hu <husong@kylinos.cn>, cgroups@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, Alireza Asgari <alireza@asgari.net> X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1794782082; l=8527; i=alireza@asgari.net; s=alireza-kernel; h=from:subject:message-id; bh=5VLqD9hrhT1MpNUocVL10oVpUb4KAqRndB+1hfVAv+c=; b=LhT3DhnLw1RGO11l0Nui1rJW18n0Ql3De38AdIwBgIQsb+M6+rLSlaBQ5uHvKK9PmMp8gO5JA uAK5NmbIcgLA/SoI70QJbwmrFEYfDJutbpjnQ0pVJIc8qTsu1wVbv/+ X-Developer-Key: i=alireza@asgari.net; a=ed25519; pk=wuQ0/M69FqoVnrCMUJ13EQCwrCwVjCrtz75k15vW8tw= X-Endpoint-Received: by B4 Relay for alireza@asgari.net/alireza-kernel with auth_id=1055 X-Original-From: Alireza Asgari <alireza@asgari.net> X-Reply-To: alireza@asgari.net