🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25383

[PATCH net v3 3/3] net: lapb: transmit frames outside the protocol lock

#25383
From: Yu Gao via B4 Relay
Date: Tue, 01 Dec 2026 17:18
462 lines
26957 bytes
From: Yu Gao <SuperSkidder@qq.com>

LAPB calls the data_transmit() callback with lapb->lock held. lapbeth
passes the frame to dev_queue_xmit(), and if the underlying device is
a tunnel routed back through a lapbeth device, the frame re-enters
lapbeth_xmit() and LAPB under the TX lock and up_lock. syzbot reports:

  lapb_list_lock --> &lapb->lock --> _xmit_X25#2
  lapb_list_lock --> _xmit_X25#2 --> &lapbeth->up_lock

Queue frames on a per-instance FIFO under lapb->lock and pass them to
the driver after the lock is dropped. One caller drains the FIFO at a
time, which keeps the frames in order.

hdlc_x25 hands frames straight to the hardware, so it sends them right
after the lock is dropped. lapbeth's data_transmit() can loop back into
LAPB through dev_queue_xmit(), so it sets the new schedule_tx()
callback and sends them from its NAPI poll instead.

The FIFO holds at most 256 frames; more are dropped and left to LAPB
retransmission. A drain sends at most 64 frames, then lapbeth's NAPI
poll stays scheduled and hdlc_x25 defers the rest to a work item.

Each frame records the TX recursion level at which it was queued, and
that level is restored around data_transmit(), so a looped frame still
counts against XMIT_RECURSION_LIMIT.

On NETDEV_GOING_DOWN, LAPB flushes the queued frames, including the
final DISC, and waits for a running sender before ndo_stop. Frames
produced after that are dropped.

With this series, the syzbot reproducers no longer report lock cycles.
hdlc_x25 was only build-tested.

Fixes: b491e6a7391e ("net: lapb: Add locking to the lapb module")
Suggested-by: Willem de Bruijn <willemb@google.com>
Reported-by: syzbot+059a2795ad4cff2a2695@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=059a2795ad4cff2a2695
Reported-by: syzbot+8328573e4d0514392471@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=8328573e4d0514392471
Signed-off-by: Yu Gao <SuperSkidder@qq.com>
---
 Documentation/networking/lapb-module.rst |  31 ++++++++
 drivers/net/wan/lapbether.c              |  14 ++++
 include/linux/lapb.h                     |   8 ++
 include/net/lapb.h                       |  13 ++++
 net/lapb/lapb_iface.c                    | 123 +++++++++++++++++++++++++++----
 net/lapb/lapb_timer.c                    |   4 +-
 6 files changed, 178 insertions(+), 15 deletions(-)

diff --git a/Documentation/networking/lapb-module.rst b/Documentation/networking/lapb-module.rst
index ff586bc..f2047e3 100644
--- a/Documentation/networking/lapb-module.rst
+++ b/Documentation/networking/lapb-module.rst
@@ -47,6 +47,7 @@ of the LAPB module::
 		void (*disconnect_indication)(int token, int reason);
 		int  (*data_indication)(int token, struct sk_buff *skb);
 		void (*data_transmit)(int token, struct sk_buff *skb);
+		void (*schedule_tx)(int token);
 	};
 
 Each member of this structure corresponds to a function in the device driver
@@ -224,6 +225,16 @@ LAPB_OK			LAPB has accepted the data.
 LAPB_BADTOKEN		Invalid/unknown LAPB token.
 =============		===========================
 
+::
+
+    bool lapb_transmit_pending(void *token);
+
+Pass queued frames to the device driver through data_transmit (see below).
+Only drivers that provide schedule_tx need to call this. Each call sends at
+most 64 frames and returns true if frames are left, in which case the driver
+should call it again later. It must not be called with a lock held that the
+driver's transmit path also takes.
+
 Callbacks
 ---------
 
@@ -303,3 +314,23 @@ This is called by the LAPB module when data is to be transmitted to the
 remote system by the device driver. The skbuff becomes the property of the
 device driver and the LAPB module will not perform any more actions on it.
 The skb->data pointer will be pointing to the first byte of the LAPB header.
+
+LAPB queues outgoing frames while it holds its internal lock and calls
+data_transmit only after dropping it, so the frame may be passed to the
+driver some time after the event that produced it. At most 256 frames
+wait; further ones are dropped and left to the LAPB retransmission. When a
+device in the initial network namespace is going down, the queued frames
+are passed to the driver and frames produced after that are dropped.
+
+::
+
+    void (*schedule_tx)(void *token);
+
+Optional. A driver whose data_transmit can re-enter the network stack or the
+LAPB module, for example by calling dev_queue_xmit(), provides this
+callback. LAPB then calls schedule_tx instead of data_transmit from the
+context of the LAPB call, and the driver calls lapb_transmit_pending (see
+above) later from a context that holds none of its transmit locks.
+schedule_tx is called with the LAPB lock held and must not call back into
+the LAPB module. Without it, the caller sends the frames right after LAPB
+drops its lock, and if many are waiting, the rest are sent from a work item.
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c
index ab71afa..a438b85 100644
--- a/drivers/net/wan/lapbether.c
+++ b/drivers/net/wan/lapbether.c
@@ -93,6 +93,10 @@ static int lapbeth_napi_poll(struct napi_struct *napi, int budget)
 						  napi);
 	struct sk_buff *skb;
 	int processed = 0;
+	bool tx_more;
+
+	/* LAPB limits each call, so TX is not charged to the RX budget. */
+	tx_more = lapb_transmit_pending(lapbeth->axdev);
 
 	for (; processed < budget; ++processed) {
 		skb = skb_dequeue(&lapbeth->rx_queue);
@@ -101,6 +105,8 @@ static int lapbeth_napi_poll(struct napi_struct *napi, int budget)
 		netif_receive_skb_core(skb);
 	}
 
+	if (tx_more)
+		return budget;
 	if (processed < budget)
 		napi_complete(napi);
 
@@ -317,6 +323,13 @@ static int lapbeth_set_mac_address(struct net_device *dev, void *addr)
 	return 0;
 }
 
+static void lapbeth_schedule_tx(struct net_device *dev)
+{
+	struct lapbethdev *lapbeth = netdev_priv(dev);
+
+	napi_schedule(&lapbeth->napi);
+}
+
 static const struct lapb_register_struct lapbeth_callbacks = {
 	.connect_confirmation    = lapbeth_connected,
 	.connect_indication      = lapbeth_connected,
@@ -324,6 +337,7 @@ static const struct lapb_register_struct lapbeth_callbacks = {
 	.disconnect_indication   = lapbeth_disconnected,
 	.data_indication         = lapbeth_data_indication,
 	.data_transmit           = lapbeth_data_transmit,
+	.schedule_tx             = lapbeth_schedule_tx,
 };
 
 /* open/close a device
diff --git a/include/linux/lapb.h b/include/linux/lapb.h
index b5333f9..5d793ea 100644
--- a/include/linux/lapb.h
+++ b/include/linux/lapb.h
@@ -36,6 +36,13 @@ struct lapb_register_struct {
 	void (*disconnect_indication)(struct net_device *dev, int reason);
 	int  (*data_indication)(struct net_device *dev, struct sk_buff *skb);
 	void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
+	/* Set this if data_transmit() can re-enter the network stack or LAPB.
+	 * LAPB then calls it instead of sending from the caller's context, and
+	 * the driver must call lapb_transmit_pending() later, without holding
+	 * any lock its transmit path takes. It is called with the LAPB lock
+	 * held and must not call back into LAPB.
+	 */
+	void (*schedule_tx)(struct net_device *dev);
 };
 
 struct lapb_parms_struct {
@@ -57,6 +64,7 @@ extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms
 extern int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms);
 extern int lapb_connect_request(struct net_device *dev);
 extern int lapb_disconnect_request(struct net_device *dev);
+bool lapb_transmit_pending(struct net_device *dev);
 extern int lapb_data_request(struct net_device *dev, struct sk_buff *skb);
 extern int lapb_data_received(struct net_device *dev, struct sk_buff *skb);
 
diff --git a/include/net/lapb.h b/include/net/lapb.h
index 6c07420..ce45cf3 100644
--- a/include/net/lapb.h
+++ b/include/net/lapb.h
@@ -3,6 +3,8 @@
 #define _LAPB_H 
 #include <linux/lapb.h>
 #include <linux/refcount.h>
+#include <linux/wait.h>
+#include <linux/workqueue.h>
 
 #define	LAPB_HEADER_LEN MAX_HEADER		/* LAPB over Ethernet + a bit more */
 
@@ -66,6 +68,11 @@ enum {
 #define	LAPB_SMODULUS	8
 #define	LAPB_EMODULUS	128
 
+/* About two full extended windows. */
+#define	LAPB_TX_QUEUE_MAX		256
+/* Frames sent per drain before the rest is deferred. */
+#define	LAPB_TX_QUOTA			64
+
 /*
  *	Information about the current frame.
  */
@@ -97,6 +104,11 @@ struct lapb_cb {
 	/* Internal control information */
 	struct sk_buff_head	write_queue;
 	struct sk_buff_head	ack_queue;
+	struct sk_buff_head	tx_queue;
+	wait_queue_head_t	tx_wait;
+	struct work_struct	tx_work;
+	bool			tx_running;
+	bool			tx_stopped;
 	unsigned char		window;
 	const struct lapb_register_struct *callbacks;
 
@@ -109,6 +121,7 @@ struct lapb_cb {
 };
 
 /* lapb_iface.c */
+void lapb_tx_unlock(struct lapb_cb *lapb) __releases(&lapb->lock);
 void lapb_connect_confirmation(struct lapb_cb *lapb, int);
 void lapb_connect_indication(struct lapb_cb *lapb, int);
 void lapb_disconnect_confirmation(struct lapb_cb *lapb, int);
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c
index 1af36fd..a04fd11 100644
--- a/net/lapb/lapb_iface.c
+++ b/net/lapb/lapb_iface.c
@@ -105,6 +105,16 @@ static struct lapb_cb *lapb_devtostruct(struct net_device *dev)
 
 	return rc;
 }
+
+/* Sends what an inline drain left behind when it ran out of quota. */
+static void lapb_tx_work(struct work_struct *work)
+{
+	struct lapb_cb *lapb = container_of(work, struct lapb_cb, tx_work);
+
+	spin_lock_bh(&lapb->lock);
+	lapb_tx_unlock(lapb);
+}
+
 /*
  *	Create an empty LAPB control block.
  */
@@ -117,6 +127,9 @@ static struct lapb_cb *lapb_create_cb(void)
 
 	skb_queue_head_init(&lapb->write_queue);
 	skb_queue_head_init(&lapb->ack_queue);
+	__skb_queue_head_init(&lapb->tx_queue);
+	init_waitqueue_head(&lapb->tx_wait);
+	INIT_WORK(&lapb->tx_work, lapb_tx_work);
 
 	timer_setup(&lapb->t1timer, NULL, 0);
 	timer_setup(&lapb->t2timer, NULL, 0);
@@ -198,7 +211,9 @@ int lapb_unregister(struct net_device *dev)
 	/* Wait for running timers to stop */
 	timer_delete_sync(&lapb->t1timer);
 	timer_delete_sync(&lapb->t2timer);
+	disable_work_sync(&lapb->tx_work);
 
+	__skb_queue_purge(&lapb->tx_queue);
 	lapb_put(lapb);
 	return LAPB_OK;
 out:
@@ -282,6 +297,71 @@ int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms)
 }
 EXPORT_SYMBOL(lapb_setparms);
 
+/* Preserve the TX nesting level if another caller sends the frame. */
+#define LAPB_TX_DEPTH(skb) ((skb)->cb[0])
+
+/* One caller drains the FIFO. Other producers leave their frames to it.
+ * Returns true if the quota ran out with frames still queued; the caller
+ * then has to schedule another drain. Once tx_stopped is set no frames
+ * are added, so the final flush ignores the quota.
+ */
+static bool lapb_xmit_queued(struct lapb_cb *lapb)
+{
+	int quota = LAPB_TX_QUOTA;
+	struct sk_buff *skb;
+
+	lockdep_assert_held(&lapb->lock);
+	if (lapb->tx_running)
+		return false;
+
+	WRITE_ONCE(lapb->tx_running, true);
+	while ((quota-- > 0 || lapb->tx_stopped) &&
+	       (skb = __skb_dequeue(&lapb->tx_queue))) {
+		int depth = LAPB_TX_DEPTH(skb) - dev_recursion_level();
+		int i;
+
+		spin_unlock(&lapb->lock);
+		for (i = 0; i < depth; i++)
+			dev_xmit_recursion_inc();
+		lapb->callbacks->data_transmit(lapb->dev, skb);
+		for (i = 0; i < depth; i++)
+			dev_xmit_recursion_dec();
+		spin_lock(&lapb->lock);
+	}
+	WRITE_ONCE(lapb->tx_running, false);
+	if (lapb->tx_stopped)
+		wake_up_all(&lapb->tx_wait);
+	return !skb_queue_empty(&lapb->tx_queue);
+}
+
+/* Returns true if frames are left for the next call. */
+bool lapb_transmit_pending(struct net_device *dev)
+{
+	struct lapb_cb *lapb = lapb_devtostruct(dev);
+	bool more;
+
+	if (!lapb)
+		return false;
+	spin_lock_bh(&lapb->lock);
+	more = lapb_xmit_queued(lapb);
+	spin_unlock_bh(&lapb->lock);
+	lapb_put(lapb);
+	return more;
+}
+EXPORT_SYMBOL(lapb_transmit_pending);
+
+void lapb_tx_unlock(struct lapb_cb *lapb)
+	__releases(&lapb->lock)
+{
+	if (!skb_queue_empty(&lapb->tx_queue)) {
+		if (lapb->callbacks->schedule_tx)
+			lapb->callbacks->schedule_tx(lapb->dev);
+		else if (lapb_xmit_queued(lapb))
+			schedule_work(&lapb->tx_work);
+	}
+	spin_unlock_bh(&lapb->lock);
+}
+
 int lapb_connect_request(struct net_device *dev)
 {
 	struct lapb_cb *lapb = lapb_devtostruct(dev);
@@ -307,7 +387,7 @@ int lapb_connect_request(struct net_device *dev)
 
 	rc = LAPB_OK;
 out_put:
-	spin_unlock_bh(&lapb->lock);
+	lapb_tx_unlock(lapb);
 	lapb_put(lapb);
 out:
 	return rc;
@@ -357,7 +437,7 @@ int lapb_disconnect_request(struct net_device *dev)
 
 	rc = __lapb_disconnect_request(lapb);
 
-	spin_unlock_bh(&lapb->lock);
+	lapb_tx_unlock(lapb);
 	lapb_put(lapb);
 out:
 	return rc;
@@ -378,11 +458,12 @@ int lapb_data_request(struct net_device *dev, struct sk_buff *skb)
 	if (lapb->state != LAPB_STATE_3 && lapb->state != LAPB_STATE_4)
 		goto out_put;
 
+	LAPB_TX_DEPTH(skb) = dev_recursion_level();
 	skb_queue_tail(&lapb->write_queue, skb);
 	lapb_kick(lapb);
 	rc = LAPB_OK;
 out_put:
-	spin_unlock_bh(&lapb->lock);
+	lapb_tx_unlock(lapb);
 	lapb_put(lapb);
 out:
 	return rc;
@@ -397,7 +478,7 @@ int lapb_data_received(struct net_device *dev, struct sk_buff *skb)
 	if (lapb) {
 		spin_lock_bh(&lapb->lock);
 		lapb_data_input(lapb, skb);
-		spin_unlock_bh(&lapb->lock);
+		lapb_tx_unlock(lapb);
 		lapb_put(lapb);
 		rc = LAPB_OK;
 	}
@@ -441,14 +522,15 @@ int lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *skb)
 
 int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *skb)
 {
-	int used = 0;
-
-	if (lapb->callbacks->data_transmit) {
-		lapb->callbacks->data_transmit(lapb->dev, skb);
-		used = 1;
-	}
-
-	return used;
+	lockdep_assert_held(&lapb->lock);
+	if (lapb->tx_stopped || !lapb->callbacks->data_transmit ||
+	    skb_queue_len(&lapb->tx_queue) >= LAPB_TX_QUEUE_MAX)
+		return 0;
+
+	LAPB_TX_DEPTH(skb) = max_t(int, LAPB_TX_DEPTH(skb),
+				   dev_recursion_level());
+	__skb_queue_tail(&lapb->tx_queue, skb);
+	return 1;
 }
 
 /* Handle device status changes. */
@@ -457,6 +539,7 @@ static int lapb_device_event(struct notifier_block *this, unsigned long event,
 {
 	struct net_device *dev = netdev_notifier_info_to_dev(ptr);
 	struct lapb_cb *lapb;
+	bool quiesce = false;
 
 	if (!net_eq(dev_net(dev), &init_net))
 		return NOTIFY_DONE;
@@ -488,8 +571,16 @@ static int lapb_device_event(struct notifier_block *this, unsigned long event,
 		}
 		break;
 	case NETDEV_GOING_DOWN:
+		/* Make room for the DISC; the link is closing anyway. */
+		if (skb_queue_len(&lapb->tx_queue) >= LAPB_TX_QUEUE_MAX)
+			kfree_skb(__skb_dequeue(&lapb->tx_queue));
 		if (netif_carrier_ok(dev))
 			__lapb_disconnect_request(lapb);
+		/* Hand the final frames to the driver before it closes.
+		 * ndo_stop unregisters this block, so this is not undone.
+		 */
+		lapb->tx_stopped = true;
+		quiesce = true;
 		break;
 	case NETDEV_DOWN:
 		lapb_dbg(0, "(%p) Interface down: %s\n", dev, dev->name);
@@ -524,7 +615,13 @@ static int lapb_device_event(struct notifier_block *this, unsigned long event,
 		break;
 	}
 
-	spin_unlock_bh(&lapb->lock);
+	if (quiesce) {
+		lapb_xmit_queued(lapb);
+		spin_unlock_bh(&lapb->lock);
+		wait_event(lapb->tx_wait, !READ_ONCE(lapb->tx_running));
+	} else {
+		lapb_tx_unlock(lapb);
+	}
 	lapb_put(lapb);
 	return NOTIFY_DONE;
 }
diff --git a/net/lapb/lapb_timer.c b/net/lapb/lapb_timer.c
index 9fde6cf..6acfdd7 100644
--- a/net/lapb/lapb_timer.c
+++ b/net/lapb/lapb_timer.c
@@ -89,7 +89,7 @@ static void lapb_t2timer_expiry(struct timer_list *t)
 	lapb->t2timer_running = false;
 
 out:
-	spin_unlock_bh(&lapb->lock);
+	lapb_tx_unlock(lapb);
 }
 
 static void lapb_t1timer_expiry(struct timer_list *t)
@@ -202,5 +202,5 @@ static void lapb_t1timer_expiry(struct timer_list *t)
 	lapb_start_t1timer(lapb);
 
 out:
-	spin_unlock_bh(&lapb->lock);
+	lapb_tx_unlock(lapb);
 }

-- 
Git-157)
Technical Details
Message-ID: <20261202-lapb-unlock-v3-v3-3-65b6ce65141b@qq.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375238-linux-kernel-netdev=dewy.ru
References: <20261202-lapb-unlock-v3-v3-0-65b6ce65141b@qq.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375238-linux-kernel-netdev=dewy.ru
From: devnull+SuperSkidder.qq.com@kernel.org (Yu Gao via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v3 3/3] net: lapb: transmit frames outside the protocol
 lock
Date: Wed, 02 Dec 2026 01:18:18 +0800
Organization: Usenet Network
Message-ID: <20261202-lapb-unlock-v3-v3-3-65b6ce65141b@qq.com>
References: <20261202-lapb-unlock-v3-v3-0-65b6ce65141b@qq.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1775949"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:/IbYAnWw3YzqZol5zP90pnQSni4= sha256:cNWGt/idaFw4AbuM9gHMxvqdxWcs8WrSgVK1u6CBbJE=
	sha1:hLJ/zah5xv3bCL4y+YPX/FzH2Vs= sha256:3XVIwG6HgZ0tTVwX9d18beYh4rU7KTKCRCT21joFJuY=
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 EBB5B117435; Tue,  1 Dec 2026 20:18:57 +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 oB-v1tv4E8Wr;
	Tue,  1 Dec 2026 20:18:54 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-375238-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 05160117431; Tue,  1 Dec 2026 20:18:45 +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 65EF66028D8; Tue,  1 Dec 2026 17:18:45 +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=1796145519;
	b=wcEnSrXjJJTwhcHjqW7jNBqdIoJaVVj5uj5hOfEaFvL6cJ7z66pLZsUVN6Ra5kftva1y
	 BckBAdsGvwwZrJR/MysuGSuu/ALJAIwxQU7/KtPzfutBqg9XbwVkMTWeKQBQnpctexqhN
	 KvD0tWdWPS+d/xJygw6VXmAPGC+KB5tmKMFThoSo624Uxol1Wn7Q1tIMPfbYnldLmkX0Z
	 FvbplybN/Idy/OtOfSM5pfb/e8mCdBIFcDMz5rHmg23h52TvYRV+UdKLJRhV0v36ydU27
	 DjJAanOZ/L/3YuPB8IzXoaJo8J8pU1zQGOcwSRuBXGpVMOcUINeUl0jdyIXoN3EAGag==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796145519;
	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=Ns1dFK4iSl1EHvoSNuYqvekiILQ/j8+auSXjV8dDURM=;
	b=3GABvZAZaF53HTmo9bcJIamQwEsC8fRSXaWw9fstyKqMoJPwPamFKEKoCIyGdkjO+GZX
	 6t73t03MlEcdPimbHlKPCD4mlMYfSIsivddetV6uT+xH58yJONP6njI+t22z0/K0Hh1Qa
	 /c1Gw3PGflVc3gvmvijAaWfgtS8SNTPz/LVhOJxP0eXRND8+8B3X57CFlRguiWvFCBhoN
	 e7apry3/8Rbqb+Z1vNjsRcHSnhtqWjd8YzY4WbwOzGYGhxQdIQrJolZwLBC/CupmTD95J
	 w9WcooHc9RPwm0ABIQ3anI5NhSD6RNWZY+1iSt5+Tm/J8lloddYTW/3Byo8s7xHfa5g==
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=cPPzGV3S;
	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 B5F4E606A33A;
	Tue,  1 Dec 2026 17:18:39 +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=cPPzGV3S
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=1796145518;
	b=YIlcn+QoKRMdGsEEaz70RhI48Wq/QeW0Pyytiqh+ra1+PxkP6KxSbw6Yd4G6DkQoq2kH
	 dbZ6MhU9C/3Q0urs1CIUoJTVDS54FmX5nYoDci+qraKyQXBbaIJd4HfELYVyYAJqgiYrn
	 zAPoCPHLUCqlGDtis0eV18XTmqSjY/gPqm0voMFxPZ4tZYjuerzrXb5TlU9I7ma1QG0O1
	 OhuaNBtjYJppzqBGQv0riU/InUmH4zzojCDCMoHJkcB2pTlMIYSp2yH8PrnwGx04uh2Hh
	 bwHMe3Co0YU07BE4yuJgNiAGYLid/yysoYXpEWNe4YPgdoCSpAFQFBv0wYiVB2iLFBw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796145518;
	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=Ns1dFK4iSl1EHvoSNuYqvekiILQ/j8+auSXjV8dDURM=;
	b=WnPjPyRkoJbhXSCYodg5UJtJnGNwOWF5Tp/tXXP7UgFihbjycbgKIDOwpFOOsc9YtmPT
	 aDXY2eCIlU7iPzZ9PJbV04q6td+6MfRfYTf7fcNICTblvunlT0zlu57s0a1Ys/jUqsCcZ
	 wcPIYrgh2zvXJRGHLJnciH7M9Xj+SgwA8gnj5W5DzYiOlZ+hFVH5iHbXfZqUT2ndDr9H7
	 /BTuRYvEotrs8rLse/uTXYH69Es37FHSKsWMymwZNQd2P9dV9s0EMvbAipN56SJKtYQeY
	 HSQXBLvpagBmRyGpXD4CiHIqliE9qUWY3cEgto5TdmfArUKcfYgpnL2gvZod8TtrjNA==
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=cPPzGV3S;
	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 D5930606A32A;
	Tue,  1 Dec 2026 17:18:38 +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=1796145518;
	b=gEvjvHdOLR4HT5m2b+b2Y0f+0iL6i9PZiGSzeFxYnM6OTIeagJHcgAWa+wEON9VEk95o
	 mVkufmYn/FkNavRTLtSxs7K6YJGMN82BysZApH9ig9AQY3qELaU3p9lTdINgkxPpzU6Et
	 g9GG+56BwHKhoMtIIOwKRtG7Siv661fqWhSG6jnefWN7pB1O3i2kv+AUuhU69R1+JYrJw
	 WspmyvoxAYYRtjTEvR56ThmQY2WmBYxTTkEakTnNrGOe50ot8HvjDNsVQZa7SDyrkJw+v
	 UreLiiYkSQW+OmZeGWeDMeWMZcXbspETbAK1BkMWKwXte2d31fZmvM3Un3iyNoch/qg==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1796145518;
	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=Ns1dFK4iSl1EHvoSNuYqvekiILQ/j8+auSXjV8dDURM=;
	b=13L4PvssYtJirc7GP82RECR19aEW5eVg/YFkXQmBQBaF+Tgn6No5SdGJUhWu2+/RVkXQ
	 wxwY3Bl7BWg8I88g6DIsGEaPEzb6q0tsM85nCohVOIMKEqOHZL+h50uoSan3l4moOuObN
	 /y+/VPH7BMBQUHZsQ3IpEfxfND3/cDmyD4qMoBrrt2QccdFw/foJfZTxjdJpdnZMDCF24
	 ULntafNNxrdvxzRpCgVauFli9zlEuNeNGnQhoSWrdpH341CFUHn36Ms/XfUI7ETa/Cj7h
	 TT+PKufGd8pDT2scgT/6UA2xewaa1KT/ZguWebOk25sm81duWVXFP4b8B6TjhFhl6+g==
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 4A7261F00898;
	Tue,  1 Dec 2026 17:18:24 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796145518;
	bh=Ns1dFK4iSl1EHvoSNuYqvekiILQ/j8+auSXjV8dDURM=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=cPPzGV3S1wi+2jKd31work8116MpoPyqq44qU0aDjdRLAIznNqn4Jnp0pcj1WTmTt
	 xvZcAhkrxFzmGl+DCeY7C92T18f65LZQIhRKQS2tope7L6mtSkXNYMaGrkcjGidhTX
	 MyHRLPvaakS705HlQLdz2hvKA7x1kaqih1pzg2wjkWiY1Dbw2qgYzvuEHRySurhcgJ
	 AcsEgYUEWNaP/taCJt20QJYEBdVIeK/oPpILgRu4GzbJvzTH6F9qkff9QoEJW1iboe
	 z0iBh/t8EZcuZ7zMwos2vexR10BwNyBq5mSef4kOgCRnhK9XBaqIeYqAKOH9hfEzzq
	 qLaF47aMvU6og==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id C6FE94EEE9;
	Tue,  1 Dec 2026 17:18:23 +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: <20261202-lapb-unlock-v3-v3-0-65b6ce65141b@qq.com>
X-Cc: Hillf Danton <hdanton@sina.com>, 
 "David S. Miller" <davem@davemloft.net>, Simon Horman <horms@kernel.org>, 
 Xie He <xie.he.0141@gmail.com>, Andrew Lunn <andrew+netdev@lunn.ch>, 
 Eric Dumazet <edumazet@kernel.org>, Jonathan Corbet <corbet@lwn.net>, 
 Willem de Bruijn <willemb@google.com>, 
 syzbot+8328573e4d0514392471@syzkaller.appspotmail.com, 
 linux-doc@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>, 
 Paolo Abeni <pabeni@redhat.com>, linux-x25@vger.kernel.org, 
 syzbot+059a2795ad4cff2a2695@syzkaller.appspotmail.com
X-Mailer: b4 0.16.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1796145501; l=16285;
 i=SuperSkidder@qq.com; s=20261125; h=from:subject:message-id;
 bh=wit3mprl9Ud0AQbBnx1vLcs+PH0DIkdPnls7Pi7OVYw=;
 b=hz7CYbWwCt/tj45eAMPBlmwwQW1/j/S6ifPuuxWLaZXA+wwppQuu60e63jeM0N37+2FiaAx6V
 QbqXgURHUJCAAiW78KvjfPQnPlFT2LqRKmdDv4rlHzRos69d6DCHZp5
X-Developer-Key: i=SuperSkidder@qq.com; a=ed25519;
 pk=HtDU+fHDhp/b7yb+opRFNaSEtNxybJRlJ2dM9BnxMwU=
X-Endpoint-Received: by B4 Relay for SuperSkidder@qq.com/20261125 with
 auth_id=1634
X-Original-From: Yu Gao <SuperSkidder@qq.com>
X-Reply-To: SuperSkidder@qq.com