Article View: linux.kernel.netdev
Article #24189[PATCH v7 03/14] KEYS: Add key_gc_flush() for draining RCU callbacks
From: Jarkko Sakkinen
Date: Sun, 29 Nov 2026 17:05
Date: Sun, 29 Nov 2026 17:05
461 lines
24217 bytes
24217 bytes
keyring_clear() and key_unlink() release keyring links via call_rcu(),
and key_put() defers final key destruction to key_gc_work.
Once keys and keyring restrictions pin their key type, callers that
clear an internal cache before module unload need a synchronous barrier
so module references can be dropped before delete_module() checks the
refcount.
Track active and pending-GC reference counts on struct key_type and add
key_gc_flush(type) to drain pending RCU callbacks and synchronously reap
unreferenced keys referencing that type in a single bounded pass without
waiting on unrelated or newly created keys.
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
---
include/linux/key-type.h | 2 +
include/linux/key.h | 6 ++
security/keys/gc.c | 165 +++++++++++++++++++++++++++++++++++----
security/keys/key.c | 8 ++
security/keys/keyring.c | 17 ++--
5 files changed, 176 insertions(+), 22 deletions(-)
diff --git a/include/linux/key-type.h b/include/linux/key-type.h
index c4f329b6ae3f..668793bf613a 100644
--- a/include/linux/key-type.h
+++ b/include/linux/key-type.h
@@ -162,6 +162,8 @@ struct key_type {
/* internal fields */
atomic64_t index_id; /* Opaque keyring index ID */
+ atomic_t nr_keys; /* Number of allocated keys */
+ atomic_t gc_pending; /* Unreferenced keys pending GC */
struct list_head link; /* link in types list */
struct lock_class_key lock_class; /* key->sem lock class */
} __randomize_layout;
diff --git a/include/linux/key.h b/include/linux/key.h
index 420412aab926..edd852608763 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -31,6 +31,7 @@ typedef int32_t key_serial_t;
typedef uint32_t key_perm_t;
struct key;
+struct key_type;
struct net;
#ifdef CONFIG_KEYS
@@ -439,6 +440,7 @@ extern int restrict_link_reject(struct key *keyring,
struct key *restriction_key);
extern int keyring_clear(struct key *keyring);
+void key_gc_flush(struct key_type *type);
extern key_ref_t keyring_search(key_ref_t keyring,
struct key_type *type,
@@ -527,6 +529,10 @@ extern void key_init(void);
#define key_remove_domain(d) do { } while(0)
#define key_lookup(k) NULL
+static inline void key_gc_flush(struct key_type *type)
+{
+}
+
#endif /* CONFIG_KEYS */
#endif /* __KERNEL__ */
#endif /* _LINUX_KEY_H */
diff --git a/security/keys/gc.c b/security/keys/gc.c
index e38ee4839885..ca5c1a6bdd45 100644
--- a/security/keys/gc.c
+++ b/security/keys/gc.c
@@ -5,6 +5,7 @@
* Written by David Howells (dhowells@redhat.com)
*/
+#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/security.h>
#include <keys/keyring-type.h>
@@ -29,6 +30,10 @@ static struct {
.work = __WORK_INITIALIZER(key_gc_work.work, key_garbage_collector),
};
+static LIST_HEAD(key_gc_graveyard);
+static DEFINE_MUTEX(key_gc_lock);
+static DEFINE_MUTEX(key_gc_flush_lock);
+
/*
* Delay between key revocation/expiry in seconds
*/
@@ -163,6 +168,9 @@ static noinline void key_gc_unused_keys(struct list_head *keys)
while (!list_empty(keys) && chunk--) {
struct key *key =
list_entry(keys->next, struct key, graveyard_link);
+ struct key_type *type = key->type;
+ struct key_type *restrict_type =
+ key->restrict_link ? key->restrict_link->keytype : NULL;
short state = key->state;
list_del(&key->graveyard_link);
@@ -176,8 +184,8 @@ static noinline void key_gc_unused_keys(struct list_head *keys)
#endif
/* Throw away the key data if the key is instantiated */
- if (state == KEY_IS_POSITIVE && key->type->destroy)
- key->type->destroy(key);
+ if (state == KEY_IS_POSITIVE && type->destroy)
+ type->destroy(key);
security_key_free(key);
@@ -191,9 +199,107 @@ static noinline void key_gc_unused_keys(struct list_head *keys)
memzero_explicit(key, sizeof(*key));
kmem_cache_free(key_jar, key);
+ if (restrict_type) {
+ atomic_dec_return_release(&restrict_type->nr_keys);
+ atomic_dec_return_release(&restrict_type->gc_pending);
+ }
+ atomic_dec_return_release(&type->nr_keys);
+ atomic_dec_return_release(&type->gc_pending);
}
}
+static unsigned int key_type_refs(const struct key *key,
+ const struct key_type *type)
+{
+ return (key->type == type) +
+ (key->restrict_link && key->restrict_link->keytype == type);
+}
+
+/**
+ * key_gc_flush - Drain unreferenced keys of a given key type
+ * @type: Key type whose unreferenced keys and keyring-unlink RCU callbacks to
+ * drain.
+ *
+ * Context: Process context. May sleep.
+ */
+void key_gc_flush(struct key_type *type)
+{
+ struct key *key, *tmp;
+ struct rb_node *cursor;
+ int detached = 0;
+ LIST_HEAD(graveyard);
+
+ if (!atomic_read_acquire(&type->nr_keys))
+ return;
+
+ rcu_barrier();
+ if (!atomic_read_acquire(&type->gc_pending))
+ return;
+
+ mutex_lock(&key_gc_flush_lock);
+ if (!atomic_read_acquire(&type->gc_pending))
+ goto out_unlock;
+
+ mutex_lock(&key_gc_lock);
+
+ list_for_each_entry_safe(key, tmp, &key_gc_graveyard, graveyard_link) {
+ unsigned int refs = key_type_refs(key, type);
+
+ if (refs) {
+ list_move_tail(&key->graveyard_link, &graveyard);
+ detached += refs;
+ }
+ }
+
+ if (detached < atomic_read_acquire(&type->gc_pending)) {
+ spin_lock(&key_serial_lock);
+ cursor = rb_first(&key_serial_tree);
+ while (cursor) {
+ unsigned int refs;
+
+ key = rb_entry(cursor, struct key, serial_node);
+ cursor = rb_next(cursor);
+ refs = key_type_refs(key, type);
+
+ if (refs &&
+ !test_bit_acquire(KEY_FLAG_USER_ALIVE,
+ &key->flags)) {
+ if (key_gc_work.cursor == &key->serial_node)
+ key_gc_work.cursor = cursor;
+ rb_erase(&key->serial_node, &key_serial_tree);
+ list_add_tail(&key->graveyard_link, &graveyard);
+ detached += refs;
+ if (detached >=
+ atomic_read_acquire(&type->gc_pending))
+ break;
+ }
+
+ if (cursor &&
+ (spin_is_contended(&key_serial_lock) ||
+ need_resched())) {
+ spin_unlock(&key_serial_lock);
+ cond_resched();
+ spin_lock(&key_serial_lock);
+ }
+ }
+ spin_unlock(&key_serial_lock);
+ }
+
+ mutex_unlock(&key_gc_lock);
+
+ if (!list_empty(&graveyard)) {
+ synchronize_rcu();
+ while (!list_empty(&graveyard)) {
+ key_gc_unused_keys(&graveyard);
+ cond_resched();
+ }
+ }
+
+out_unlock:
+ mutex_unlock(&key_gc_flush_lock);
+}
+EXPORT_SYMBOL_GPL(key_gc_flush);
+
/*
* Garbage collector for unused keys.
*
@@ -203,11 +309,11 @@ static noinline void key_gc_unused_keys(struct list_head *keys)
*/
static void key_garbage_collector(struct work_struct *work)
{
- static LIST_HEAD(graveyard);
typeof(key_gc_work) *gc = &key_gc_work;
#define KEY_GC_REAP_AGAIN 0x01 /* - Need another cycle */
#define KEY_GC_REAPING_LINKS 0x02 /* - We need to reap links */
#define KEY_GC_DESTROYING 0x04 /* - We need to destroy keys */
+#define KEY_GC_SCANNING 0x08 /* - Scan in progress */
#define KEY_GC_REAPING_DEAD_1 0x10 /* - We need to mark dead keys */
#define KEY_GC_REAPING_DEAD_2 0x20 /* - We need to reap dead key links */
#define KEY_GC_REAPING_DEAD_3 0x40 /* - We need to reap dead keys */
@@ -220,9 +326,11 @@ static void key_garbage_collector(struct work_struct *work)
kenter("[%lx,%x]", key_gc_flags, gc->state);
+ mutex_lock(&key_gc_lock);
+
if (gc->state & KEY_GC_DESTROYING)
goto destroy_keys;
- if (gc->cursor) {
+ if (gc->state & KEY_GC_SCANNING) {
spin_lock(&key_serial_lock);
goto continue_scanning;
}
@@ -244,17 +352,20 @@ static void key_garbage_collector(struct work_struct *work)
gc->end = TIME64_MAX;
- /* As only this function is permitted to remove things from the key
- * serial tree, if cursor is non-NULL then it will always point to a
- * valid node in the tree - even if lock got dropped.
+ /* Only holders of key_gc_lock remove entries from key_serial_tree,
+ * so a non-NULL cursor remains valid when key_serial_lock is dropped.
*/
spin_lock(&key_serial_lock);
gc->cursor = rb_first(&key_serial_tree);
+ if (gc->cursor)
+ gc->state |= KEY_GC_SCANNING;
continue_scanning:
while (gc->cursor && chunk) {
key = rb_entry(gc->cursor, struct key, serial_node);
gc->cursor = rb_next(gc->cursor);
+ if (!gc->cursor)
+ gc->state &= ~KEY_GC_SCANNING;
chunk--;
if (!test_bit_acquire(KEY_FLAG_USER_ALIVE, &key->flags)) {
@@ -270,7 +381,9 @@ static void key_garbage_collector(struct work_struct *work)
goto skip_dead_key;
} else if (key->type == &key_type_keyring &&
key->restrict_link) {
- goto found_restricted_keyring;
+ if (refcount_inc_not_zero(&key->usage))
+ goto found_restricted_keyring;
+ goto wait_unreferenced_key;
}
}
@@ -295,9 +408,13 @@ static void key_garbage_collector(struct work_struct *work)
goto found_keyring;
}
- if (unlikely(gc->state & KEY_GC_REAPING_DEAD_3))
- if (key->type == key_gc_dead_keytype)
- goto destroy_dead_key;
+ if (unlikely(gc->state & KEY_GC_REAPING_DEAD_3)) {
+ if (key->type == key_gc_dead_keytype) {
+ if (refcount_inc_not_zero(&key->usage))
+ goto destroy_dead_key;
+ goto wait_unreferenced_key;
+ }
+ }
skip_dead_key:
if (spin_is_contended(&key_serial_lock) || need_resched())
@@ -305,10 +422,12 @@ static void key_garbage_collector(struct work_struct *work)
}
contended:
+ if (!gc->cursor)
+ gc->state &= ~KEY_GC_SCANNING;
spin_unlock(&key_serial_lock);
maybe_resched:
- if (gc->cursor) {
+ if (gc->state & KEY_GC_SCANNING) {
if (!chunk) {
queue_work(key_gc_wq, &key_gc_work.work);
goto out;
@@ -339,7 +458,7 @@ static void key_garbage_collector(struct work_struct *work)
}
if (unlikely(gc->state & KEY_GC_REAPING_DEAD_2) ||
- !list_empty(&graveyard)) {
+ !list_empty(&key_gc_graveyard)) {
/* Make sure that all pending keyring payload destructions are
* fulfilled and that people aren't now looking at dead or
* dying keys that they don't have a reference upon or a link
@@ -352,10 +471,10 @@ static void key_garbage_collector(struct work_struct *work)
gc->state |= KEY_GC_DESTROYING;
destroy_keys:
- if (!list_empty(&graveyard)) {
+ if (!list_empty(&key_gc_graveyard)) {
kdebug("gc keys");
- key_gc_unused_keys(&graveyard);
- if (!list_empty(&graveyard)) {
+ key_gc_unused_keys(&key_gc_graveyard);
+ if (!list_empty(&key_gc_graveyard)) {
queue_work(key_gc_wq, &key_gc_work.work);
goto out;
}
@@ -385,9 +504,17 @@ static void key_garbage_collector(struct work_struct *work)
test_bit(KEY_GC_REAP_REQUESTED, &key_gc_flags))
queue_work(key_gc_wq, &key_gc_work.work);
out:
+ mutex_unlock(&key_gc_lock);
kleave(" [end %x]", gc->state);
return;
+ /* Wait for an in-flight final key_put() to finish clearing USER_ALIVE. */
+wait_unreferenced_key:
+ spin_unlock(&key_serial_lock);
+ while (test_bit_acquire(KEY_FLAG_USER_ALIVE, &key->flags))
+ cpu_relax();
+ spin_lock(&key_serial_lock);
+
/* We found an unreferenced key - once we've removed it from the tree,
* we can safely drop the lock.
*/
@@ -396,7 +523,7 @@ static void key_garbage_collector(struct work_struct *work)
rb_erase(&key->serial_node, &key_serial_tree);
spin_unlock(&key_serial_lock);
- list_add_tail(&key->graveyard_link, &graveyard);
+ list_add_tail(&key->graveyard_link, &key_gc_graveyard);
gc->state |= KEY_GC_REAP_AGAIN;
goto maybe_resched;
@@ -406,6 +533,7 @@ static void key_garbage_collector(struct work_struct *work)
found_restricted_keyring:
spin_unlock(&key_serial_lock);
keyring_restriction_gc(key, key_gc_dead_keytype);
+ key_put(key);
goto maybe_resched;
/* We found a keyring and we need to check the payload for links to
@@ -425,10 +553,13 @@ static void key_garbage_collector(struct work_struct *work)
spin_unlock(&key_serial_lock);
kdebug("destroy key %d", key->serial);
down_write(&key->sem);
+ atomic_inc(&key_type_dead.nr_keys);
+ atomic_dec_return_release(&key_gc_dead_keytype->nr_keys);
key->type = &key_type_dead;
if (key_gc_dead_keytype->destroy)
key_gc_dead_keytype->destroy(key);
memset(&key->payload, KEY_DESTROY, sizeof(key->payload));
up_write(&key->sem);
+ key_put(key);
goto maybe_resched;
}
diff --git a/security/keys/key.c b/security/keys/key.c
index ec789a264412..fecf8c3a991c 100644
--- a/security/keys/key.c
+++ b/security/keys/key.c
@@ -235,6 +235,8 @@ struct key *key_alloc(struct key_type *type, const char *desc,
key = ERR_PTR(-EINVAL);
if (!desc || !*desc)
goto error;
+ if (restrict_link && type != &key_type_keyring)
+ goto error;
if (type->vet_description) {
ret = type->vet_description(desc);
@@ -322,6 +324,9 @@ struct key *key_alloc(struct key_type *type, const char *desc,
/* publish the key by giving it a serial number */
refcount_inc(&key->domain_tag->usage);
atomic_inc(&user->nkeys);
+ atomic_inc(&type->nr_keys);
+ if (restrict_link && restrict_link->keytype)
+ atomic_inc(&restrict_link->keytype->nr_keys);
key_alloc_serial(key);
error:
@@ -741,6 +746,9 @@ void key_put(struct key *key)
spin_unlock_irqrestore(&key->user->lock, flags);
}
/* Mark key as safe for GC after key->user done. */
+ if (key->restrict_link && key->restrict_link->keytype)
+ atomic_inc(&key->restrict_link->keytype->gc_pending);
+ atomic_inc(&key->type->gc_pending);
clear_bit_unlock(KEY_FLAG_USER_ALIVE, &key->flags);
key_schedule_gc_work(false);
}
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index 5aa8d706c238..4f906073d312 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -540,6 +540,9 @@ struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
if (!IS_ERR(keyring)) {
ret = key_instantiate_and_link(keyring, NULL, 0, dest, NULL);
if (ret < 0) {
+ if (restrict_link && restrict_link->keytype)
+ atomic_dec_return_release(&restrict_link->keytype->nr_keys);
+ keyring->restrict_link = NULL;
key_put(keyring);
keyring = ERR_PTR(ret);
}
@@ -1081,6 +1084,8 @@ int keyring_restrict(key_ref_t keyring_ref, const char *type,
} else if (keyring_detect_restriction_cycle(keyring, restrict_link)) {
ret = -EDEADLK;
} else {
+ if (restrict_link->keytype)
+ atomic_inc(&restrict_link->keytype->nr_keys);
keyring->restrict_link = restrict_link;
notify_key(keyring, NOTIFY_KEY_SETATTR, 0);
}
@@ -1808,12 +1813,14 @@ void keyring_restriction_gc(struct key *keyring, struct key_type *dead_type)
down_write(&keyring->sem);
keyres = keyring->restrict_link;
+ if (keyres->keytype == dead_type) {
+ keyres->check = restrict_link_reject;
- keyres->check = restrict_link_reject;
-
- key_put(keyres->key);
- keyres->key = NULL;
- keyres->keytype = NULL;
+ key_put(keyres->key);
+ keyres->key = NULL;
+ atomic_dec_return_release(&dead_type->nr_keys);
+ keyres->keytype = NULL;
+ }
up_write(&keyring->sem);
--
2.47.3
Technical Details
Message-ID:
<20261129170543.2915157-4-jarkko@kernel.org>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373591-linux-kernel-netdev=dewy.ruReferences:
<20261129170543.2915157-1-jarkko@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373591-linux-kernel-netdev=dewy.ru From: jarkko@kernel.org (Jarkko Sakkinen) Newsgroups: linux.kernel.netdev Subject: [PATCH v7 03/14] KEYS: Add key_gc_flush() for draining RCU callbacks Date: Sun, 29 Nov 2026 19:05:32 +0200 Organization: Usenet Network Message-ID: <20261129170543.2915157-4-jarkko@kernel.org> References: <20261129170543.2915157-1-jarkko@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1218183"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:E0LQoFEfDPbONhf5jKfQLCUU1UQ= sha256:sQbgmmqVpCPRiQA9Ad9T9ENyMEt5vlXX1yg0zjafR2E= sha1:GwbCK+a+gKjqP7uStthZKRHeSGA= sha256:cUnZ6MsJePZ98z7EbuTcWVxVKy5LAy0zmskeR5ac/1Q= 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 DDE4D125F9C; Sun, 29 Nov 2026 20:06:27 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 YKmZu4haMOMR; Sun, 29 Nov 2026 20:06:20 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-373591-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 905CB125F96; Sun, 29 Nov 2026 20:06:12 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id A5ED3600F26; Sun, 29 Nov 2026 17:06:11 +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=1795971963; b=h7MHvyN40yEpE7LKv+IJQzXVEGE/gaGHxzOP618l/Y0GLNapbclLXmIMt2/mJAjdlkog tkLm353twiHBRKGL8j2RuGr3Ub7ZIMSLVCmRxnG7AvtZDHw7LsQfEO3hzfzdIOtQCaNom vXuFfF0WJcARGaQp5AwGNZ9CkSTqo1KbkXHHi5VLP4N23F3D6B9RPDOM4K9+35f4Emlg/ 22wzh+kvfDhQ1lrbwjocVpVoJgE6Q0LjduMqBNDe+CgtFNEYYC9IVfmOGwbNK3x+3xv2+ Bk8k8zg6bDKmD12f87S1yUCsKEanTj2cbwA3RBWNgeOy5Kp6iJpJDLnrAo8BjaRY/bQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795971963; h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding; bh=3TtVjSwMaJ3SReQlaTVJ8YFxUf69tZqxwDb9CDj46AI=; b=xeQXfqaP8sS8ULdGFjdiL9OgYe2S2hMHlp9n+kdGPZ6u9V3vb77Zk5pKixGFDUCI41JX g0aU9HD3VpHeKT0IAKnco5CncJspNrpMx+a2o5zGXDIOIgNl9T3LXPVis1KRY898dRLx0 BNKDStJp0O0/uY3GE1BfXUi4K0aYsEoavn5pNYyMsRCFJxpvmNW3dtMEIOpxtxHbrE3YZ ArtcIm/Y1W7C+RPP75LygJNJxSeGvW2rGgExNEq/2aaP+elmDfRsXJsRwDs03tmE6MEOC 9BUmEtvL9dOp/536mdVn3sk/taVT25C6wTOkHIUApdk0RrBOeFz1xFZFhD7+V3fkcOg== 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=lFhFoRIL; 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 8A774606A6A1; Sun, 29 Nov 2026 17:06:03 +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=lFhFoRIL X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795971962; b=eA9u38Wme7OzyxA6zmg4oj7xyAmem5ZVhaH5qGF2bmmasqyRjwQZ34WwiJUun/VgOx+E a4UIV02nRYA27ww0+mCWIXDogsnDb18tK72RjBaAbwnpajyvct9Mm/T5WkBDLSS5psEU+ cUZyfn2jKFWpv1fa4TdE4+OATJu31dqW+0LvJpu+G8Qwab7a/UX8VfMXiJWuCKu1hHcDs PCMK5pmU0TRvaYAbhslU+gpdk/niQaEkNpYGX/xH23BHermxxOTCaEs2H8soBUnuo/ErH zYLL+UMhxrrtZ9ESP1LFBWeNv5hnu/aWxd8LSxzR0UJmNlBk4/0N5fvuP6K29Gfw+lQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795971962; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=3TtVjSwMaJ3SReQlaTVJ8YFxUf69tZqxwDb9CDj46AI=; b=2pPydStoxxTQ/4F0XuWXbQXx70ckIEi34qFxFC5pa4pthKQuJbJrd9BG/ry2/fCkDk28 NTjpsoUk/XRCejLWBYE8dkJAxtt5KDXba+6Mq+iEImMYNFf5V9kzN8qtlyRwjbLCytlT7 k5qvr59cOi1BNDJVml69B9309F0TMKla+TLulmuNQBs9JgYmzKnl8r9sJki4hWC52eE5s js5AYLewC1wrXq27vIMo3QrB+M5rWc+DWhl5uGn78G1SY1mjGmlzNk62sIyuoAcl4I7xT 5E/vf98BLTvebY4jCdasiSBBm+XXUWgfVWzYEcDwwKi0JesoY/mjt5ZBH6rRpJ5RZEw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lFhFoRIL; arc=none 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 UTF8SMTPS id A8048606A32F; Sun, 29 Nov 2026 17:06:02 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id C36231F00929; Sun, 29 Nov 2026 17:06:01 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795971962; bh=3TtVjSwMaJ3SReQlaTVJ8YFxUf69tZqxwDb9CDj46AI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lFhFoRIL747MCU4ZGMnoL8e7VdKkrRx+Ak9piupFWm9q0SS7S4c5Shdoz6hm+vB+1 GDYGdu9U23BZbFar/R6CzPC9MZoegL17g8gnexqgGWXvM57FNQBTlu9ok9sUqAFNUZ WetKAG8/N1FSHGmLv9wXwpQCdfuG7ZLPrCnL+r7hr4F3zuTGKkLpylnUv6YmfPfGgk gSPJ2Gx8uoAPYMXxymGY08pionY01Y8nq4FTQgxaXiUGKn/gnPLZeKdv632gD+5crl lMUvwyEymY53kGPKnf6WC1DkLJ89n6QT17kIQXd3zofw/n8IhgWq7kqLtZWJ5cN259 9QRvUSBgplUSw== X-Cc: Jarkko Sakkinen <jarkko@kernel.org>, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-doc@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-s390@vger.kernel.org, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, samba-technical@lists.samba.org, Alexander Gordeev <agordeev@linux.ibm.com>, Anna Schumaker <anna@kernel.org>, Bharath SM <bharathsm@microsoft.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, David Howells <dhowells@redhat.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Heiko Carstens <hca@linux.ibm.com>, Jakub Kicinski <kuba@kernel.org>, James Bottomley <James.Bottomley@HansenPartnership.com>, James Morris <jmorris@namei.org>, Jonathan Corbet <corbet@lwn.net>, Marc Dionne <marc.dionne@auristor.com>, Marek Behรบn <kabel@kernel.org>, Mimi Zohar <zohar@linux.ibm.com>, Namjae Jeon <linkinjeon@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Paul Moore <paul@paul-moore.com>, Paulo Alcantara <pc@manguebit.org>, Randy Dunlap <rdunlap@infradead.org>, Ronnie Sahlberg <ronniesahlberg@gmail.com>, "Serge E. Hallyn" <serge@hallyn.com>, Shuah Khan <skhan@linuxfoundation.org>, Shyam Prasad N <sprasad@microsoft.com>, Simon Horman <horms@kernel.org>, Sumit Garg <sumit.garg@kernel.org>, Sven Schnelle <svens@linux.ibm.com>, Tom Talpey <tom@talpey.com>, Trond Myklebust <trondmy@kernel.org>, Vasily Gorbik <gor@linux.ibm.com>, Willem de Bruijn <willemb@google.com> X-Mailer: git-send-email 2.47.3 X-In-Reply-To: <20261129170543.2915157-1-jarkko@kernel.org> 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