Article View: linux.kernel.netdev
Article #17130[PATCH net-next v4 3/5] psp: defer tx key deletions for SADB drivers
From: Daniel Zahka
Date: Mon, 16 Nov 2026 12:04
Date: Mon, 16 Nov 2026 12:04
555 lines
30219 bytes
30219 bytes
Devices that store tx keys in an SADB can hold references to key
handles in tx descriptor state. PSP core needs to make sure all of
these tx descriptors have been completed before calling
psp_dev_tx_key_del(). Before rekeying, this was ensured by skbs
holding references to skb->sk, and sk->psp_assoc being cleared only in
the socket destructor.
Rekeying introduces a code path where a psp_assoc is detached from its
socket and may be freed while the socket is still alive. This means
skbs may exist in the driver ring that were rendered into descriptors
using that old psp_assoc. We cannot delete the key from the SADB until
we know these descriptors have been completed.
After a psp_assoc has all references drained (refcount and rcu), PSP
core records the BQL queued count for each active TX queue and starts a
descriptor grace period. It then polls the queued and completed byte
counts until all data outstanding at the start of the grace period has
completed. After that point, any keys queued for deletion before the
start of the grace period can be deleted from the SADB.
Make CONFIG_INET_PSP depend on CONFIG_BQL.
Drivers which install Tx keys must meet the requirements in
Documentation/networking/psp.rst.
Regarding lock ordering: the order of taking psp_dev::lock before
net_device::lock was established in commit 1e6e0cec0dab ("net/mlx5e:
psp: Make PSP steering config dynamic"). SADB drivers must not call
psp_dev_unregister() with the netdev instance lock held.
Adding a time based rate limit per socket for tx-assoc to prevent
wasting SADB or deferred deletion queue space is possible for future
work. For now, users should avoid presenting PSP devices to users they
don't trust to abuse this.
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
---
v3:
- document that Tx descriptors must be completed or discarded
before psp_dev_unregister()
v2:
- move grace period mechanism to use bql instead of driver callback.
- allow tx rekey on SADB devices
---
Documentation/networking/psp.rst | 42 +++++++
include/net/psp/types.h | 18 +++
net/psp/Kconfig | 1 +
net/psp/Makefile | 2 +-
net/psp/psp.h | 5 +
net/psp/psp_deferred_del.c | 231 +++++++++++++++++++++++++++++++++++++++
net/psp/psp_main.c | 22 +++-
net/psp/psp_sock.c | 13 ++-
8 files changed, 325 insertions(+), 9 deletions(-)
diff --git a/Documentation/networking/psp.rst b/Documentation/networking/psp.rst
index 43f222b38d3d..ceb1e232317f 100644
--- a/Documentation/networking/psp.rst
+++ b/Documentation/networking/psp.rst
@@ -202,6 +202,48 @@ Drivers must use ``psp_skb_get_assoc_rcu()`` to check if PSP Tx offload
was requested for given skb. On Rx drivers should allocate and populate
the ``SKB_EXT_PSP`` skb extension, and set the skb->decrypted bit to 1.
+Deferred Tx key deletion
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+Drivers which implement ``tx_key_add`` and ``tx_key_del`` may hold key
+references in their Tx rings, so PSP core waits until descriptors
+containing these references are completed before removing the key from
+the underlying device. PSP core uses accounting based on Byte Queue Limits
+(BQL) to wait for a suitable grace period before asking the driver to
+remove the key.
+
+Drivers which implement the Tx key callbacks must meet the following
+requirements:
+
+* The driver must be "ops locked"
+ (see Documentation/networking/netdevices.rst).
+* A PSP skb accepted by ``ndo_start_xmit()`` must remain socket-owned until
+ every Tx descriptor referencing its PSP key has been completed or otherwise
+ made incapable of using the key. The driver must not orphan the skb before
+ that point. Otherwise, the socket destructor may free the Tx key while key
+ references remain in the Tx ring.
+* Every PSP packet accepted by ``ndo_start_xmit()`` must be included in BQL
+ queued bytecount before the function returns.
+* Completion bytecounts must exactly match enqueue bytecounts and preserve
+ queue order. A later packet must not be reported as completed while an earlier
+ packet can still reference its key.
+* Before calling ``dql_reset()`` on a queue, the driver must ensure that all
+ outstanding descriptors containing key references have been completed or
+ discarded. If called under the netdev instance lock, then descriptors can
+ remain outstanding after the reset as long as they are completed or
+ discarded before the instance lock is released.
+* When decreasing ``real_num_tx_queues``, the driver must ensure that every
+ outstanding descriptor on the queues at or above the new Tx queue count
+ has been completed or otherwise made incapable of using its PSP key
+ before the netdev instance lock is released.
+* The BQL state of a queue below ``real_num_tx_queues`` must reflect all
+ bytes completed or be reset after the queue has been quiesced. Failure to
+ do so will stall the grace period algorithm.
+* Before calling ``psp_dev_unregister()``, the driver must ensure that all
+ outstanding Tx descriptors containing key references have been completed
+ or discarded. PSP core deletes all remaining Tx keys during
+ unregistration without waiting for a grace period.
+
Kernel implementation notes
---------------------------
diff --git a/include/net/psp/types.h b/include/net/psp/types.h
index 9eb89d2d680c..f3e1fe97224e 100644
--- a/include/net/psp/types.h
+++ b/include/net/psp/types.h
@@ -6,6 +6,7 @@
#include <linux/bits.h>
#include <linux/mutex.h>
#include <linux/refcount.h>
+#include <linux/workqueue.h>
#include <net/net_trackers.h>
struct netlink_ext_ack;
@@ -81,6 +82,11 @@ struct psp_assoc_dev {
* device key
* @stale_assocs: associations which use a rotated out key, or were
* superseded by a rekey
+ * @tx_del: deferred TX key deletion state
+ * @tx_del.active: TX keys to be deleted after the current grace period
+ * @tx_del.next: TX keys queued for deletion during current grace period
+ * @tx_del.work: delayed work item for periodic grace period checking
+ * @tx_del.txq_state: TX queue state for deferred deletion grace periods
*
* @stats: statistics maintained by the core
* @stats.rotations: See stats attr key-rotations
@@ -110,6 +116,13 @@ struct psp_dev {
struct list_head prev_assocs;
struct list_head stale_assocs;
+ struct {
+ struct list_head active;
+ struct list_head next;
+ struct delayed_work work;
+ struct psp_txq_state *txq_state;
+ } tx_del;
+
struct {
unsigned long rotations;
unsigned long stales;
@@ -158,9 +171,14 @@ struct psp_key_parsed {
* enum psp_assoc_flags - flags of struct psp_assoc
* @PSP_ASSOC_SKIP_TX_KEY_DEL: Do not delete Tx key from psp_dev. It was
* copied to a newer psp_assoc during an Rx rekey.
+ * @PSP_ASSOC_DEFER_TX_KEY_DEL: Send Tx key to psp_dev's deferred deletion
+ * queue. This psp_assoc was detached from its socket during a Tx rekey
+ * and requires device descriptor state referencing this key to be
+ * drained.
*/
enum psp_assoc_flags {
PSP_ASSOC_SKIP_TX_KEY_DEL = BIT(0),
+ PSP_ASSOC_DEFER_TX_KEY_DEL = BIT(1),
};
struct psp_assoc {
diff --git a/net/psp/Kconfig b/net/psp/Kconfig
index 84d6b0f25460..36c12493784f 100644
--- a/net/psp/Kconfig
+++ b/net/psp/Kconfig
@@ -5,6 +5,7 @@
config INET_PSP
bool "PSP Security Protocol support"
depends on INET
+ depends on BQL
select SKB_DECRYPTED
select SKB_EXTENSIONS
select SOCK_VALIDATE_XMIT
diff --git a/net/psp/Makefile b/net/psp/Makefile
index eb5ff3c5bfb2..40decd8fe050 100644
--- a/net/psp/Makefile
+++ b/net/psp/Makefile
@@ -2,4 +2,4 @@
obj-$(CONFIG_INET_PSP) += psp.o
-psp-y := psp_main.o psp_nl.o psp_sock.o psp-nl-gen.o
+psp-y := psp_main.o psp_nl.o psp_sock.o psp_deferred_del.o psp-nl-gen.o
diff --git a/net/psp/psp.h b/net/psp/psp.h
index 92d7b92acaed..0cfc82c6c711 100644
--- a/net/psp/psp.h
+++ b/net/psp/psp.h
@@ -18,6 +18,11 @@ int psp_dev_check_access(struct psp_dev *psd, struct net *net, bool admin);
bool psp_has_assoc_dev_in_ns(struct psp_dev *psd, struct net *net);
int psp_attach_netdev_notifier(void);
+int psp_deferred_del_init(struct psp_dev *psd);
+void psp_deferred_del_stop(struct psp_dev *psd);
+void psp_deferred_del_uninit(struct psp_dev *psd, bool unpublished);
+void psp_deferred_del_queue(struct psp_dev *psd, struct psp_assoc *pas);
+
void psp_nl_notify_dev(struct psp_dev *psd, u32 cmd);
void psp_nl_notify_disassoc(struct psp_dev *psd, struct net *net);
diff --git a/net/psp/psp_deferred_del.c b/net/psp/psp_deferred_del.c
new file mode 100644
index 000000000000..cfbac72577e9
--- /dev/null
+++ b/net/psp/psp_deferred_del.c
@@ -0,0 +1,231 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include <linux/bitmap.h>
+#include <linux/jiffies.h>
+#include <linux/list.h>
+#include <linux/netdevice.h>
+#include <linux/slab.h>
+#include <net/netdev_lock.h>
+#include <net/psp.h>
+
+#include "psp.h"
+
+#define PSP_TX_GRACE_POLL_MS 1000
+
+struct psp_txq_state {
+ unsigned int num_tx_queues;
+ unsigned long *drained_queues;
+ unsigned int to_complete[];
+};
+
+static void psp_txq_state_free(struct psp_txq_state *state)
+{
+ if (!state)
+ return;
+
+ bitmap_free(state->drained_queues);
+ kvfree(state);
+}
+
+static struct psp_txq_state *
+psp_txq_state_alloc(unsigned int max_tx_queues)
+{
+ struct psp_txq_state *state;
+
+ state = kvzalloc_flex(*state, to_complete, max_tx_queues);
+ if (!state)
+ return NULL;
+
+ state->drained_queues = bitmap_zalloc(max_tx_queues, GFP_KERNEL);
+ if (!state->drained_queues) {
+ psp_txq_state_free(state);
+ return NULL;
+ }
+
+ return state;
+}
+
+static void psp_tx_grace_start(struct psp_dev *psd)
+{
+ struct psp_txq_state *state = psd->tx_del.txq_state;
+ struct net_device *dev = psd->main_netdev;
+ unsigned int i;
+
+ netdev_assert_locked(dev);
+
+ /* Any instances of ndo_start_xmit() that observed these keys through
+ * psp_skb_get_assoc_rcu() must already be accounted in BQL's queued
+ * byte count. ndo_start_xmit() runs with BHs disabled, which forms an
+ * implicit RCU read-side critical section, and we are now at least one
+ * grace period after any of these psp_assocs have been cleared from
+ * sk->psp_assoc.
+ */
+ state->num_tx_queues = dev->real_num_tx_queues;
+ bitmap_zero(state->drained_queues, state->num_tx_queues);
+ for (i = 0; i < state->num_tx_queues; i++) {
+ struct netdev_queue *txq = netdev_get_tx_queue(dev, i);
+
+ state->to_complete[i] = READ_ONCE(txq->dql.num_queued);
+ }
+}
+
+static bool psp_tx_grace_done(struct psp_dev *psd)
+{
+ struct psp_txq_state *state = psd->tx_del.txq_state;
+ struct net_device *dev = psd->main_netdev;
+ bool all_completed = true;
+ unsigned int i;
+
+ netdev_assert_locked(dev);
+
+ if (dev->real_num_tx_queues < state->num_tx_queues)
+ state->num_tx_queues = dev->real_num_tx_queues;
+
+ for (i = 0; i < state->num_tx_queues; i++) {
+ struct netdev_queue *txq = netdev_get_tx_queue(dev, i);
+ unsigned int completed;
+ unsigned int queued;
+
+ if (test_bit(i, state->drained_queues))
+ continue;
+
+ /* Drivers must meet the requirements documented in
+ * Documentation/networking/psp.rst to guarantee forward
+ * progress and avoid ending the grace period prematurely.
+ *
+ * We snapshotted num_queued in psp_tx_grace_start() and need
+ * to determine whether num_completed has since reached or
+ * passed that mark. For a given queue, we can consider first
+ * whether or not dql_reset() was called at any point between
+ * when we read num_queued until we read num_completed and
+ * num_queued here and then separate the space of possible
+ * states based on that.
+ *
+ * Not reset: num_queued and num_completed only increase, and
+ * dql keeps num_queued - num_completed <= INT_MAX at all
+ * times. We can form three exhaustive sub cases:
+ *
+ * (int)(to_complete - completed) <= 0: completion reached or
+ * passed the mark. At the time to_complete was read,
+ * completed was in [to_complete - INT_MAX, to_complete].
+ *
+ * (int)(to_complete - queued) > 0: to_complete and queued are
+ * both snapshots of num_queued, so queued has advanced more
+ * than INT_MAX + 1 past to_complete. num_completed lags
+ * queued by at most INT_MAX, so num_completed must have
+ * crossed to_complete.
+ *
+ * Otherwise the mark may still be in flight, so poll again.
+ *
+ * Reset: By the driver conditions laid out in
+ * Documentation/networking/psp.rst, if a dql_reset()
+ * occurred, and we are holding the instance lock, then we
+ * know the actual state of the queue is drained. The check
+ * below is then conservative because there is no risk of
+ * falsely declaring the queue drained. As long as dql makes
+ * forward progress the check should eventually report
+ * drained.
+ */
+ completed = READ_ONCE(txq->dql.num_completed);
+ queued = READ_ONCE(txq->dql.num_queued);
+
+ if ((int)(state->to_complete[i] - completed) <= 0 ||
+ (int)(state->to_complete[i] - queued) > 0)
+ __set_bit(i, state->drained_queues);
+ else
+ all_completed = false;
+ }
+
+ return all_completed;
+}
+
+static bool psp_tx_grace_active(struct psp_dev *psd)
+{
+ return !list_empty(&psd->tx_del.active);
+}
+
+static void psp_deferred_del_work(struct work_struct *work)
+{
+ struct delayed_work *dwork = to_delayed_work(work);
+ struct psp_assoc *pas, *tmp;
+ bool need_reschedule;
+ struct psp_dev *psd;
+ LIST_HEAD(to_free);
+
+ psd = container_of(dwork, struct psp_dev, tx_del.work);
+
+ mutex_lock(&psd->lock);
+ netdev_lock(psd->main_netdev);
+
+ if (psp_tx_grace_active(psd) && psp_tx_grace_done(psd))
+ list_splice_init(&psd->tx_del.active, &to_free);
+
+ if (!psp_tx_grace_active(psd) && !list_empty(&psd->tx_del.next)) {
+ psp_tx_grace_start(psd);
+ list_splice_init(&psd->tx_del.next, &psd->tx_del.active);
+ }
+
+ netdev_unlock(psd->main_netdev);
+
+ list_for_each_entry(pas, &to_free, assocs_list)
+ psp_dev_tx_key_del(psd, pas);
+
+ need_reschedule = psp_tx_grace_active(psd);
+ mutex_unlock(&psd->lock);
+
+ if (need_reschedule)
+ mod_delayed_work(system_percpu_wq, &psd->tx_del.work,
+ msecs_to_jiffies(PSP_TX_GRACE_POLL_MS));
+
+ list_for_each_entry_safe(pas, tmp, &to_free, assocs_list) {
+ list_del(&pas->assocs_list);
+ psp_dev_put(psd);
+ kfree(pas);
+ }
+}
+
+int psp_deferred_del_init(struct psp_dev *psd)
+{
+ INIT_LIST_HEAD(&psd->tx_del.active);
+ INIT_LIST_HEAD(&psd->tx_del.next);
+ INIT_DELAYED_WORK(&psd->tx_del.work, psp_deferred_del_work);
+
+ if (!psd->ops->tx_key_del)
+ return 0;
+
+ psd->tx_del.txq_state =
+ psp_txq_state_alloc(psd->main_netdev->num_tx_queues);
+
+ return psd->tx_del.txq_state ? 0 : -ENOMEM;
+}
+
+void psp_deferred_del_stop(struct psp_dev *psd)
+{
+ disable_delayed_work_sync(&psd->tx_del.work);
+}
+
+void psp_deferred_del_uninit(struct psp_dev *psd, bool unpublished)
+{
+ struct psp_assoc *pas, *next;
+
+ lockdep_assert(unpublished || lockdep_is_held(&psd->lock));
+
+ psp_txq_state_free(psd->tx_del.txq_state);
+ psd->tx_del.txq_state = NULL;
+
+ list_splice_init(&psd->tx_del.active, &psd->tx_del.next);
+ list_for_each_entry_safe(pas, next, &psd->tx_del.next, assocs_list) {
+ list_del(&pas->assocs_list);
+ psp_dev_tx_key_del(psd, pas);
+ psp_dev_put(psd);
+ kfree(pas);
+ }
+}
+
+void psp_deferred_del_queue(struct psp_dev *psd, struct psp_assoc *pas)
+{
+ lockdep_assert_held(&psd->lock);
+
+ list_move_tail(&pas->assocs_list, &psd->tx_del.next);
+ schedule_delayed_work(&psd->tx_del.work, 0);
+}
diff --git a/net/psp/psp_main.c b/net/psp/psp_main.c
index 273b010d2355..e118b8019e7e 100644
--- a/net/psp/psp_main.c
+++ b/net/psp/psp_main.c
@@ -3,8 +3,10 @@
#include <linux/bitfield.h>
#include <linux/list.h>
#include <linux/netdevice.h>
+#include <linux/slab.h>
#include <linux/xarray.h>
#include <net/net_namespace.h>
+#include <net/netdev_lock.h>
#include <net/psp.h>
#include <net/udp.h>
@@ -70,7 +72,8 @@ psp_dev_create(struct net_device *netdev,
!psd_ops->rx_spi_alloc ||
!psd_ops->get_stats ||
(!psd_ops->tx_key_add != !psd_ops->tx_key_del) ||
- (psd_caps->assoc_drv_spc && !psd_ops->tx_key_add)))
+ (psd_caps->assoc_drv_spc && !psd_ops->tx_key_add) ||
+ (psd_ops->tx_key_add && !netdev_need_ops_lock(netdev))))
return ERR_PTR(-EINVAL);
psd = kzalloc_obj(*psd);
@@ -89,13 +92,16 @@ psp_dev_create(struct net_device *netdev,
INIT_LIST_HEAD(&psd->stale_assocs);
refcount_set(&psd->refcnt, 1);
+ err = psp_deferred_del_init(psd);
+ if (err)
+ goto err_free_psd;
+
mutex_lock(&psp_devs_lock);
err = xa_alloc_cyclic(&psp_devs, &psd->id, psd, xa_limit_16b,
&last_id, GFP_KERNEL);
if (err) {
mutex_unlock(&psp_devs_lock);
- kfree(psd);
- return ERR_PTR(err);
+ goto err_uninit_deferred_del;
}
mutex_lock(&psd->lock);
mutex_unlock(&psp_devs_lock);
@@ -111,6 +117,12 @@ psp_dev_create(struct net_device *netdev,
mutex_unlock(&psd->lock);
return psd;
+
+err_uninit_deferred_del:
+ psp_deferred_del_uninit(psd, true);
+err_free_psd:
+ kfree(psd);
+ return ERR_PTR(err);
}
EXPORT_SYMBOL(psp_dev_create);
@@ -133,6 +145,8 @@ void psp_dev_unregister(struct psp_dev *psd)
struct psp_assoc_dev *entry, *entry_tmp;
struct psp_assoc *pas, *next;
+ psp_deferred_del_stop(psd);
+
mutex_lock(&psp_devs_lock);
mutex_lock(&psd->lock);
@@ -145,6 +159,8 @@ void psp_dev_unregister(struct psp_dev *psd)
xa_store(&psp_devs, psd->id, NULL, GFP_KERNEL);
mutex_unlock(&psp_devs_lock);
+ psp_deferred_del_uninit(psd, false);
+
list_splice_init(&psd->active_assocs, &psd->prev_assocs);
list_splice_init(&psd->prev_assocs, &psd->stale_assocs);
list_for_each_entry_safe(pas, next, &psd->stale_assocs, assocs_list) {
diff --git a/net/psp/psp_sock.c b/net/psp/psp_sock.c
index d497f41c483e..48bffe088c79 100644
--- a/net/psp/psp_sock.c
+++ b/net/psp/psp_sock.c
@@ -114,8 +114,14 @@ static void psp_assoc_free(struct work_struct *work)
mutex_lock(&psd->lock);
if (psp_dev_is_registered(psd)) {
- if (psp_assoc_needs_tx_key_del(pas))
+ if (psp_assoc_needs_tx_key_del(pas)) {
+ if (pas->flags & PSP_ASSOC_DEFER_TX_KEY_DEL) {
+ psp_deferred_del_queue(psd, pas);
+ mutex_unlock(&psd->lock);
+ return;
+ }
psp_dev_tx_key_del(psd, pas);
+ }
list_del(&pas->assocs_list);
}
mutex_unlock(&psd->lock);
@@ -287,10 +293,6 @@ psp_sock_tx_rekey(struct sock *sk, struct psp_dev *psd, struct psp_assoc *pas,
struct psp_assoc *new;
int err;
- if (psp_dev_has_sadb(psd)) {
- NL_SET_ERR_MSG(extack, "Tx rekey not supported on this device");
- return -EOPNOTSUPP;
- }
if (!pas->peer_tx) {
NL_SET_ERR_MSG(extack, "Socket PSP state is not fully established");
return -EBUSY;
@@ -322,6 +324,7 @@ psp_sock_tx_rekey(struct sock *sk, struct psp_dev *psd, struct psp_assoc *pas,
list_move(&pas->assocs_list, &psd->stale_assocs);
rcu_assign_pointer(sk->psp_assoc, new);
+ pas->flags |= PSP_ASSOC_DEFER_TX_KEY_DEL;
psp_assoc_put(pas);
return 0;
--
2.52.1
Technical Details
Message-ID:
<20261116-psp-v4-3-1a599df2aefa@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364288-linux-kernel-netdev=dewy.ruReferences:
<20261116-psp-v4-0-1a599df2aefa@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364288-linux-kernel-netdev=dewy.ru
From: daniel.zahka@gmail.com (Daniel Zahka)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v4 3/5] psp: defer tx key deletions for SADB
drivers
Date: Mon, 16 Nov 2026 04:04:38 -0800
Organization: Usenet Network
Message-ID: <20261116-psp-v4-3-1a599df2aefa@gmail.com>
References: <20261116-psp-v4-0-1a599df2aefa@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2053814"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kuTAS5kteQON1O2jvIq4a4NFx0o= sha256:MLgmuRyeXrOeZAaM/3pPD5sQq5fMx5NZsEnk22kOzC8=
sha1:9WhRRc8G9c63hr6vD4O+GebjWBU= sha256:lb23NC9UF9MYpqz7tsDRRlOTP+KgaPmZMVkaBqPzFp8=
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 2EDA8114BF0; Mon, 16 Nov 2026 15:05:29 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
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 u7Ug2tFimB4K;
Mon, 16 Nov 2026 15:05:26 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-364288-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id C3C59114BF4; Mon, 16 Nov 2026 15:05:17 +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 2EA0F2F289; Mon, 16 Nov 2026 12:05:13 +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=1794830706;
b=dIhLHqmDC24hu4TZ3sNbFxPASll/v8B5CNovaS44cLxdY+sy9/n0iw/KCIFFGQDgZhN7
XOJsdNC6obyvA9CFFxnRylcuPuoNpK2QpEWjwOUTKYmrzATMMA5p+M3GqVbzZoq53dTmc
1aSLunqYeImYbhfbm5Ggh8WPQ9ZjjE/8nwQi0l0DbNFDEPYNxEjsscp0fPEm6lHltoZnj
p55PTrqEYn2GzGNjfZXeFhmyqFlw5d8kLNo7QXn08Pwrhz6VR6V+2kC/5g/WYleblmfKZ
LHKS0dc7bu1iFXU5iJ8AiK5q6V1yWbLlTCnWjZfS/1CZRj8oXcKu0717eM17uIbVqhA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794830706;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:Date:Subject:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Type:Content-Transfer-Encoding:Message-Id:References:
In-Reply-To:To:Cc:X-Mailer;
bh=yIZuL3zCL0qgwHLAWQy9ILuPSM/7YVHQhO5856ttsXU=;
b=SaS6SrxbY7JCfwnrifF54IGOuUyVcpkCl61x7W/iY4PeMC++Zw7iJCmmWd2RisRunQGY
UDFPo6BZKi0S/c751pK+wSS+U6GQynFzthzwAY+mDFjqPYfQWOc2EbconEReKyENwZ+/Y
U3jC7SZ0VeeifEOfZWQ+9+8EM60c/FadSp6ZoZczkpQxThOBJpTCldoBnrt3pWKGbjN9L
Wv8ErzyshZtEbqBZ83wD4IasShlq8GrDq6DkLTkTCJzPGezMzP9G12PSesqR8pDT1GQWV
zj5s99xV8O2QLn1Djfei1pd3GNvSl01yn4l1gog6tg6uznxQakYgNqClU+kmOSTjmAQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="vKD0M/sA";
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
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 937BE606A8A2;
Mon, 16 Nov 2026 12:05:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=vKD0M/sA
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.53
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794830705;
b=rl6J3UGRqB17N1fr0fz8J9FolnVwtPgs6JZVuqmqrd87swqelwgSaQBHc4yFB4/E2K24
w2qeh8vVo9MjRHe3jCYP5/L/7D/fd/vedaxX7BQIlTzK32zyffQ2qCDv8QI0mI4k17z7/
TWrBAqVf5RbQQEDWpGmqflxuA6HH92oO1LS87B2xrN9v77EJPU0yx82tlNoVJnwuVCarR
aYXm34Y+khXiaAdiNucChHNR/1o8DR8UiBE+AdkxhqKHQ/3CT2h7P9XDoaDJLNqqw3M6g
kZJey7R7WrXgl3q7uL2YlThPV34NWeIsyCQRYNVpNFMsW/47Zoplsk5ZVpxd5k7SUhQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794830705;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:Date:Subject:
MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:
References:In-Reply-To:To:Cc:X-Mailer;
bh=yIZuL3zCL0qgwHLAWQy9ILuPSM/7YVHQhO5856ttsXU=;
b=W8gVt4oC8zoD00yINMCyFl3Tw3w9hFhKrMBQeQkttoQoXCYogt91cfXqEfDbiPLyzib9
VEQ3vnQNv0EpKzZTPEiEBVc4WXYO0Ah6myf/iqMNgsHwxbM9kDeyDmuBGjXlC9lQasN/I
ytKGxBNQkcZVhTGPGf5H8HnGUQ1emexVZK8ljhWiCZ3BJcwOVApmej8Hj5ByVBKligFfw
w4pJMDQZrAdz5IT9QJef+jW1g09L5Ey/WpVbY7jnozeLVTM/2FLIiGrUlneK5mhFZJlF8
ErWYjNC0qU2XyMETXaaVI0+7gdRnDsjVvjQ+XNv4da+J4OxwDqNv3hJ5EsOu5qCzRDw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="vKD0M/sA";
arc=none smtp.remote-ip=74.125.224.53
X-Received: from mail-yx1-f53.google.com (mail-yx1-f53.google.com [74.125.224.53])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16967606A323
for <netdev@vger.kernel.org>; Mon, 16 Nov 2026 12:05:03 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 16967606A323
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yx1-f53.google.com with SMTP id 956f58d0204a3-67583c777abso3350031d50.1
for <netdev@vger.kernel.org>; Mon, 16 Nov 2026 04:05:03 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794830703; x=1795435503; darn=vger.kernel.org;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=yIZuL3zCL0qgwHLAWQy9ILuPSM/7YVHQhO5856ttsXU=;
b=vKD0M/sAwq3oPw8Aq8rb/vTOhZlaXurxqzXTdRNJrjhGIrqt77trCCR9L4cApFgX38
Nr2lOnL2aG5suvan8HLBTONgA5avueU6kkVidRWwlhRJe9SXRAkQZn+VGq7qW1SNgxnQ
EY0FMr0UyNuxt7o+8p6l75waCndIy/TNrpetUB9u0GFy5K0vAE3feMb7FKV3nXBlXeW/
peRGgZST9cj5Ks1j5fv6/ls/iUHnHGDUjgGfwWSZjoUbWZ/2C7riCPetB7perFzzgyNk
DP3niKHBmFEQxR0ncG6OsdR1UChsolFBQgT5W0U8mTMpHiVVFnCUzIqCa2bB6+EgqfO/
oaRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794830703; x=1795435503;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=yIZuL3zCL0qgwHLAWQy9ILuPSM/7YVHQhO5856ttsXU=;
b=uKMBMtGbmfMRCn1SVN5vgEg7C/yzyx+9o3ylGpkUUMidoP0OHoeUauxqoix+gGc0QH
tdoTIcoWImkNZLpfRX6vOoxG0/JS7L9vwWp2TP74lishcfN0EAU39qV0tIFmYB1UaAoG
fbfkC82BXxiW0Mpf/3joPmeauC74rD8ETtRyp7Ju1kKtl6HLmtDz+GzQglUc1Egt8vSK
Zo75crNSONjFU13h3Mn/cQfBh9KtHd0qyg0JGSfsdLG/t4RpfjMSb5e3M4vPmXtQDhF2
J+xDAv2LKq9BiMR41Dk4oRl5tCZnyMrg+BWrsk0NJgVBP8NscdjbBiWwlb40+ZlKnLcB
y4Og==
X-Gm-Message-State: APuU4Z/zRrNdC5IRPzh/Is7viUfgmfNBn4D+eQsyQokb92EMRAezDpyv
TcB38oniKussO3yGFXwjpcyEc5APdtIxpl9nncQpA5Y2WfSAIus3L5sxxnmq5A0b
X-Gm-Gg: AZFdTZePZbrXWGfSUzDvV3N3M8W6/8wgIEapOM2Zqw8INswu8LDrHJiwrCb64ITRu9G
1YONN/YOTk/JfLDmjbUwCEC+Y2v2e//xhy3gzx/SsgC9EH2mow4v319kDWLEFH1bR3BQ2oZwhfT
cA9jx0jZGfGqIaMTWBkQN3tJUWBeY3T/FzedsGh6PutJpAwnisgovJVrm2p+Rv1jkKGqNqlAIeF
WygmThdUtWJBtkgX6q46VMGnJh1KivOqiMvQuIceJfrLwrnF7eJUw1MPWCDbc8h/QPLS9GLgq7b
BeMTJ+sYiSkSaYEzrypMS/W1RNPAHk0s+73tAlu8dqRw/I2ejbcwbBM1vonS8BaKBCWMwyKMOMs
M28yBr01sB9r+3gmDgRBTeNDk0TzPTiK0se5khiHM8A2hH24VPhLCJ5Uwg/qROD6staIQwGz8qG
meBcYuHDqnEcegBBZkjJ6jjHb8X9UmML5D9WftJKkZ73oApQlo+95256x6WEd3o93D9afiUVXqj
rEJRUbomDnYZXF90BNjb+rM13yMWLwJX10w1Xd4f2w6edZ22Vczmq5JPpESlc7NuE0bI0OPuWrU
+tn3KSwkP9RSqC9vpNhIXj9TpQQ=
X-Received: by 2002:a05:690e:16a1:b0:67d:bcde:a161 with SMTP id 956f58d0204a3-67dbcdea600mr982654d50.16.1794830702880;
Mon, 16 Nov 2026 04:05:02 -0800 (PST)
X-Received: from localhost ([2a03:2880:30ff:45::])
by smtp.gmail.com with ESMTPSA id 956f58d0204a3-67d8a604597sm9685828d50.18.2026.11.16.04.05.01
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 16 Nov 2026 04:05:02 -0800 (PST)
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: <20261116-psp-v4-0-1a599df2aefa@gmail.com>
X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
Willem de Bruijn <willemb@google.com>
X-Mailer: b4 0.13.0