Article View: linux.kernel.netdev
Article #23559[PATCH v5 1/5] net/nfc: fix skb ownership on data exchange errors
From: "Bin Luo (University of Electron...
Date: Fri, 27 Nov 2026 13:40
Date: Fri, 27 Nov 2026 13:40
420 lines
25282 bytes
25282 bytes
NFC data_exchange_cb_t callbacks may receive a non-NULL response skb
together with a nonzero error. Because callback ownership was not
documented, multiple consumers and wrapper callbacks mishandle skb
lifetime on error (and in ST21NFCA DEP, also on several normal/error
returns).
Document the data_exchange_cb_t ownership contract so callbacks always
own a non-NULL skb regardless of err, and update affected callbacks:
- Free non-NULL skbs on error paths in rawsock, LLCP, HCI/NCI-HCI
wrappers, Microread, PN544, and ST21NFCA core.
- Fix skb leaks in st21nfca_im_recv_atr_res_cb() (including the
READER_F success path and r < 0 returns) and
st21nfca_im_recv_dep_res_cb() (including unknown PFB types), as well
as their error paths.
- Handle nonzero err in nci_nfcc_loopback_cb() by freeing skb and
failing the pending NCI request rather than reporting NCI_STATUS_OK
with a NULL resp (which could cause a NULL pointer dereference in
st_nci_loopback()), and free skb when conn_info lookup fails. Note
that on current mainline nci_data_exchange_complete() requires
NCI_DATA_EXCHANGE to be set (which loopback and NCI-HCI send paths
do not currently set); keeping these callbacks compliant with the
contract avoids regressions once that separate gating is addressed
and protects stable trees.
- Splice queued HCI/NCI-HCI rx_hcp_frags onto a local sk_buff_head
under rx_hcp_frags.lock before walking/reassembling so concurrent
error purges cannot race with skb_queue_walk(), and purge partial
fragments on error.
Found by static call-chain audit and code inspection; the rawsock
error-path skb leak was additionally reproduced and verified under
QEMU with KASAN and kmemleak.
Fixes: 98ff416f97c5 ("NFC: nci: Add status byte management in case of error.")
Fixes: 23b7869c0fd0 ("NFC: add the NFC socket raw protocol")
Fixes: 30cc4587659e ("NFC: Move LLCP code to the NFC top level diirectory")
Fixes: f3e8fb552789 ("NFC: Modified hci_transceive to become an asynchronous operation")
Fixes: 412fda538f4b ("NFC: Changed HCI and PN544 HCI driver to use the new HCI LLC Core")
Fixes: 11f54f228643 ("NFC: nci: Add HCI over NCI protocol support")
Fixes: 1c53855f6be2 ("nfc: nci: Add nci_nfcc_loopback to the nci core")
Fixes: 1892bf844ea0 ("NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode")
Fixes: 1c54795da05a ("NFC: st21nfca: Align st21nfca driver with other nfc driver")
Fixes: cfad1ba87150 ("NFC: Initial support for Inside Secure microread")
Fixes: 97f18414af39 ("NFC: Separate pn544 hci driver in HW dependant and independant parts")
Cc: stable@vger.kernel.org
Signed-off-by: Bin Luo (University of Electronic Science and Technology of China) <luob87709@gmail.com>
---
drivers/nfc/microread/microread.c | 3 +--
drivers/nfc/pn544/pn544.c | 3 +--
drivers/nfc/st21nfca/core.c | 3 +--
drivers/nfc/st21nfca/dep.c | 26 +++++++++++++-------------
include/net/nfc/nfc.h | 5 ++++-
net/nfc/hci/core.c | 25 ++++++++++++++++++-------
net/nfc/llcp_core.c | 4 +++-
net/nfc/nci/core.c | 10 ++++++++++
net/nfc/nci/hci.c | 23 ++++++++++++++++++-----
net/nfc/rawsock.c | 5 ++++-
10 files changed, 73 insertions(+), 34 deletions(-)
diff --git a/drivers/nfc/microread/microread.c b/drivers/nfc/microread/microread.c
index 2bfafa9..f221ec7 100644
--- a/drivers/nfc/microread/microread.c
+++ b/drivers/nfc/microread/microread.c
@@ -383,8 +383,7 @@ static void microread_im_transceive_cb(void *context, struct sk_buff *skb,
info->async_cb(info->async_cb_context, skb, err);
break;
default:
- if (err == 0)
- kfree_skb(skb);
+ kfree_skb(skb);
break;
}
}
diff --git a/drivers/nfc/pn544/pn544.c b/drivers/nfc/pn544/pn544.c
index c4fa70e..82f7107 100644
--- a/drivers/nfc/pn544/pn544.c
+++ b/drivers/nfc/pn544/pn544.c
@@ -581,8 +581,7 @@ static void pn544_hci_data_exchange_cb(void *context, struct sk_buff *skb,
info->async_cb(info->async_cb_context, skb, err);
break;
default:
- if (err == 0)
- kfree_skb(skb);
+ kfree_skb(skb);
break;
}
}
diff --git a/drivers/nfc/st21nfca/core.c b/drivers/nfc/st21nfca/core.c
index b5c1ca3..68327ca 100644
--- a/drivers/nfc/st21nfca/core.c
+++ b/drivers/nfc/st21nfca/core.c
@@ -743,8 +743,7 @@ static void st21nfca_hci_data_exchange_cb(void *context, struct sk_buff *skb,
info->async_cb(info->async_cb_context, skb, err);
break;
default:
- if (err == 0)
- kfree_skb(skb);
+ kfree_skb(skb);
break;
}
}
diff --git a/drivers/nfc/st21nfca/dep.c b/drivers/nfc/st21nfca/dep.c
index a5fab4f..c907b6e 100644
--- a/drivers/nfc/st21nfca/dep.c
+++ b/drivers/nfc/st21nfca/dep.c
@@ -449,11 +449,10 @@ static void st21nfca_im_recv_atr_res_cb(void *context, struct sk_buff *skb,
struct st21nfca_atr_res *atr_res;
int r;
- if (err != 0)
- return;
-
if (!skb)
return;
+ if (err)
+ goto out;
switch (info->async_cb_type) {
case ST21NFCA_CB_TYPE_READER_F:
@@ -463,7 +462,7 @@ static void st21nfca_im_recv_atr_res_cb(void *context, struct sk_buff *skb,
atr_res->gbi,
skb->len - sizeof(struct st21nfca_atr_res));
if (r < 0)
- return;
+ goto out;
if (atr_res->to >= 0x0e)
info->dep_info.to = 0x0e;
@@ -475,7 +474,7 @@ static void st21nfca_im_recv_atr_res_cb(void *context, struct sk_buff *skb,
r = nfc_dep_link_is_up(info->hdev->ndev, info->dep_info.idx,
NFC_COMM_PASSIVE, NFC_RF_INITIATOR);
if (r < 0)
- return;
+ goto out;
info->dep_info.curr_nfc_dep_pni = 0;
if (ST21NFCA_PP2LRI(atr_res->ppi) != info->dep_info.lri)
@@ -484,9 +483,11 @@ static void st21nfca_im_recv_atr_res_cb(void *context, struct sk_buff *skb,
ST21NFCA_PP2LRI(atr_res->ppi));
break;
default:
- kfree_skb(skb);
break;
}
+
+out:
+ kfree_skb(skb);
}
int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len)
@@ -561,11 +562,10 @@ static void st21nfca_im_recv_dep_res_cb(void *context, struct sk_buff *skb,
int size;
- if (err != 0)
- return;
-
if (!skb)
return;
+ if (err)
+ goto exit;
switch (info->async_cb_type) {
case ST21NFCA_CB_TYPE_READER_F:
@@ -596,7 +596,7 @@ static void st21nfca_im_recv_dep_res_cb(void *context, struct sk_buff *skb,
size++;
skb_pull(skb, size);
nfc_tm_data_received(info->hdev->ndev, skb);
- break;
+ return;
case ST21NFCA_NFC_DEP_PFB_SUPERVISOR_PDU:
pr_err("Received a SUPERVISOR PDU\n");
skb_pull(skb, size);
@@ -606,10 +606,10 @@ static void st21nfca_im_recv_dep_res_cb(void *context, struct sk_buff *skb,
*(u8 *)skb_push(skb, 1) = info->dep_info.to | 0x10;
st21nfca_im_send_pdu(info, skb);
- break;
+ return;
+ default:
+ goto exit;
}
-
- return;
default:
break;
}
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index bcafab5..bdf2ac3 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -31,12 +31,15 @@ struct nfc_dev;
* data_exchange_cb_t - Definition of nfc_data_exchange callback
*
* @context: nfc_data_exchange cb_context parameter
- * @skb: response data
+ * @skb: response data, owned by the callback if non-NULL
* @err: If an error has occurred during data exchange, it is the
* error number. Zero means no error.
*
* When a rx or tx package is lost or corrupted or the target gets out
* of the operating field, err is -EIO.
+ * If skb is non-NULL, the callback owns it regardless of err and must free
+ * or otherwise consume it. Providers must not access or free it after the
+ * callback returns.
*/
typedef void (*data_exchange_cb_t)(void *context, struct sk_buff *skb,
int err);
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c
index ba6f031..1b43f1e 100644
--- a/net/nfc/hci/core.c
+++ b/net/nfc/hci/core.c
@@ -713,8 +713,7 @@ static void hci_transceive_cb(void *context, struct sk_buff *skb, int err)
hdev->async_cb(hdev->async_cb_context, skb, err);
break;
default:
- if (err == 0)
- kfree_skb(skb);
+ kfree_skb(skb);
break;
}
}
@@ -833,6 +832,7 @@ static int hci_se_io(struct nfc_dev *nfc_dev, u32 se_idx,
static void nfc_hci_failure(struct nfc_hci_dev *hdev, int err)
{
+ skb_queue_purge(&hdev->rx_hcp_frags);
mutex_lock(&hdev->msg_tx_mutex);
if (hdev->cmd_pending_msg == NULL) {
@@ -859,9 +859,12 @@ static void nfc_hci_recv_from_llc(struct nfc_hci_dev *hdev, struct sk_buff *skb)
struct sk_buff *hcp_skb;
u8 pipe;
struct sk_buff *frag_skb;
+ struct sk_buff_head frags;
+ unsigned long flags;
int msg_len;
if (!pskb_may_pull(skb, NFC_HCI_HCP_PACKET_HEADER_LEN)) {
+ skb_queue_purge(&hdev->rx_hcp_frags);
kfree_skb(skb);
return;
}
@@ -873,12 +876,19 @@ static void nfc_hci_recv_from_llc(struct nfc_hci_dev *hdev, struct sk_buff *skb)
}
/* it's the last fragment. Does it need re-aggregation? */
- if (skb_queue_len(&hdev->rx_hcp_frags)) {
+ __skb_queue_head_init(&frags);
+ spin_lock_irqsave(&hdev->rx_hcp_frags.lock, flags);
+ if (!skb_queue_empty(&hdev->rx_hcp_frags)) {
+ __skb_queue_tail(&hdev->rx_hcp_frags, skb);
+ skb_queue_splice_init(&hdev->rx_hcp_frags, &frags);
+ }
+ spin_unlock_irqrestore(&hdev->rx_hcp_frags.lock, flags);
+
+ if (!skb_queue_empty(&frags)) {
pipe = packet->header & NFC_HCI_FRAGMENT;
- skb_queue_tail(&hdev->rx_hcp_frags, skb);
msg_len = 0;
- skb_queue_walk(&hdev->rx_hcp_frags, frag_skb) {
+ skb_queue_walk(&frags, frag_skb) {
msg_len += (frag_skb->len -
NFC_HCI_HCP_PACKET_HEADER_LEN);
}
@@ -886,20 +896,21 @@ static void nfc_hci_recv_from_llc(struct nfc_hci_dev *hdev, struct sk_buff *skb)
hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN +
msg_len, GFP_KERNEL);
if (hcp_skb == NULL) {
+ __skb_queue_purge(&frags);
nfc_hci_failure(hdev, -ENOMEM);
return;
}
skb_put_u8(hcp_skb, pipe);
- skb_queue_walk(&hdev->rx_hcp_frags, frag_skb) {
+ skb_queue_walk(&frags, frag_skb) {
msg_len = frag_skb->len - NFC_HCI_HCP_PACKET_HEADER_LEN;
skb_put_data(hcp_skb,
frag_skb->data + NFC_HCI_HCP_PACKET_HEADER_LEN,
msg_len);
}
- skb_queue_purge(&hdev->rx_hcp_frags);
+ __skb_queue_purge(&frags);
} else {
packet->header &= NFC_HCI_FRAGMENT;
hcp_skb = skb;
diff --git a/net/nfc/llcp_core.c b/net/nfc/llcp_core.c
index 74bf817..0736a0e 100644
--- a/net/nfc/llcp_core.c
+++ b/net/nfc/llcp_core.c
@@ -1636,8 +1636,10 @@ void nfc_llcp_recv(void *data, struct sk_buff *skb, int err)
{
struct nfc_llcp_local *local = (struct nfc_llcp_local *) data;
- if (err < 0) {
+ if (err) {
pr_err("LLCP PDU receive err %d\n", err);
+ if (skb)
+ kfree_skb(skb);
return;
}
diff --git a/net/nfc/nci/core.c b/net/nfc/nci/core.c
index 73e3a96..efd4e5e 100644
--- a/net/nfc/nci/core.c
+++ b/net/nfc/nci/core.c
@@ -411,8 +411,18 @@ static void nci_nfcc_loopback_cb(void *context, struct sk_buff *skb, int err)
struct nci_dev *ndev = (struct nci_dev *)context;
struct nci_conn_info *conn_info;
+ if (err) {
+ kfree_skb(skb);
+ if (err < 0)
+ nci_req_cancel(ndev, -err);
+ else
+ nci_req_complete(ndev, NCI_STATUS_FAILED);
+ return;
+ }
+
conn_info = nci_get_conn_info_by_conn_id(ndev, ndev->cur_conn_id);
if (!conn_info) {
+ kfree_skb(skb);
nci_req_complete(ndev, NCI_STATUS_REJECTED);
return;
}
diff --git a/net/nfc/nci/hci.c b/net/nfc/nci/hci.c
index c03e8a0..aca05ca 100644
--- a/net/nfc/nci/hci.c
+++ b/net/nfc/nci/hci.c
@@ -432,14 +432,19 @@ void nci_hci_data_received_cb(void *context,
u8 pipe, type;
struct sk_buff *hcp_skb;
struct sk_buff *frag_skb;
+ struct sk_buff_head frags;
+ unsigned long flags;
int msg_len;
if (err) {
+ skb_queue_purge(&ndev->hci_dev->rx_hcp_frags);
+ kfree_skb(skb);
nci_req_complete(ndev, err);
return;
}
if (!pskb_may_pull(skb, NCI_HCI_HCP_PACKET_HEADER_LEN)) {
+ skb_queue_purge(&ndev->hci_dev->rx_hcp_frags);
kfree_skb(skb);
return;
}
@@ -451,12 +456,19 @@ void nci_hci_data_received_cb(void *context,
}
/* it's the last fragment. Does it need re-aggregation? */
- if (skb_queue_len(&ndev->hci_dev->rx_hcp_frags)) {
+ __skb_queue_head_init(&frags);
+ spin_lock_irqsave(&ndev->hci_dev->rx_hcp_frags.lock, flags);
+ if (!skb_queue_empty(&ndev->hci_dev->rx_hcp_frags)) {
+ __skb_queue_tail(&ndev->hci_dev->rx_hcp_frags, skb);
+ skb_queue_splice_init(&ndev->hci_dev->rx_hcp_frags, &frags);
+ }
+ spin_unlock_irqrestore(&ndev->hci_dev->rx_hcp_frags.lock, flags);
+
+ if (!skb_queue_empty(&frags)) {
pipe = NCI_HCP_MSG_GET_PIPE(packet->header);
- skb_queue_tail(&ndev->hci_dev->rx_hcp_frags, skb);
msg_len = 0;
- skb_queue_walk(&ndev->hci_dev->rx_hcp_frags, frag_skb) {
+ skb_queue_walk(&frags, frag_skb) {
msg_len += (frag_skb->len -
NCI_HCI_HCP_PACKET_HEADER_LEN);
}
@@ -464,20 +476,21 @@ void nci_hci_data_received_cb(void *context,
hcp_skb = nfc_alloc_recv_skb(NCI_HCI_HCP_PACKET_HEADER_LEN +
msg_len, GFP_KERNEL);
if (!hcp_skb) {
+ __skb_queue_purge(&frags);
nci_req_complete(ndev, -ENOMEM);
return;
}
skb_put_u8(hcp_skb, pipe);
- skb_queue_walk(&ndev->hci_dev->rx_hcp_frags, frag_skb) {
+ skb_queue_walk(&frags, frag_skb) {
msg_len = frag_skb->len - NCI_HCI_HCP_PACKET_HEADER_LEN;
skb_put_data(hcp_skb,
frag_skb->data + NCI_HCI_HCP_PACKET_HEADER_LEN,
msg_len);
}
- skb_queue_purge(&ndev->hci_dev->rx_hcp_frags);
+ __skb_queue_purge(&frags);
} else {
packet->header &= NCI_HCI_FRAGMENT;
hcp_skb = skb;
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c
index f7d7a59..3bf65b1 100644
--- a/net/nfc/rawsock.c
+++ b/net/nfc/rawsock.c
@@ -156,8 +156,11 @@ static void rawsock_data_exchange_complete(void *context, struct sk_buff *skb,
pr_debug("sk=%p err=%d\n", sk, err);
- if (err)
+ if (err) {
+ if (skb)
+ kfree_skb(skb);
goto error;
+ }
err = rawsock_add_header(skb);
if (err)
--
2.51.0.windows.1
Technical Details
Message-ID:
<20261127134029.1813-2-luob87709@gmail.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372748-linux-kernel-netdev=dewy.ruReferences:
<20261127134029.1813-1-luob87709@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372748-linux-kernel-netdev=dewy.ru
From: luob87709@gmail.com ("Bin Luo (University of Electronic Science and Technology of China)")
Newsgroups: linux.kernel.netdev
Subject: [PATCH v5 1/5] net/nfc: fix skb ownership on data exchange errors
Date: Fri, 27 Nov 2026 21:40:25 +0800
Organization: Usenet Network
Message-ID: <20261127134029.1813-2-luob87709@gmail.com>
References: <20261127134029.1813-1-luob87709@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="741129"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:PWzWiCBPYlh4xAA8Ng9NVDHObQs= sha256:PWwBGF8zf5cr9e8L0ZcEBCYcsRwTKAAY2UERQDKc6EU=
sha1:5X4WPHG6ExW/np0sj3qNckkLMN8= sha256:1PR2pq4cQN6p28RyTmdQgNCzJSEpbm0OGisJht+46Dk=
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 784ED125F56; Fri, 27 Nov 2026 16:41:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, 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 q3u6SFOFhIXB;
Fri, 27 Nov 2026 16:40:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372748-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 06BA8125F58; Fri, 27 Nov 2026 16:40:49 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 5F4EE65C8D; Fri, 27 Nov 2026 13:40:43 +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=1795786842;
b=bc9xK1QR5aKDvqAivIk0xicF/vPYdM2oFrpEJ2EMCjA6J0ZrB9DYLcsj7lrWZ9LlJfWt
/oOkQPLhTxqdXGXPQ4IlBfTcXqVo7s0rgrC86VaJZfy8mjW59ldqHpDHAI23P9Yr5Y2nQ
PH0u8XNOgtnLytgZ0jJqDvB/NC1ArWVazBVBsIDe6PQ6Lq0evnZv3XuZI2HhCMWDHl90Z
KJN5CtQRQ7Lw2bx+pzxsIi1l67mblrf/tPkLUz+WEhtjBNa+L2QxQi563EG9O/1vaUKG3
dg+Yzj+0ap36iuFlyeSqgMv2xtiJKoWO9ixO1Jh1dTwb3iAp68IHosuinW3h4maGSDw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795786842;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received: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=W6jq9zG8qTie1UEKVvkOyRB8yWcqAk3YziZ4QEPwCjY=;
b=KG2bzT0v5uFHoz1oPM088uTdfxBuAI2R6u/GIVOGuCJSF3ZgQuxRXL23dtN5nLwGbm0S
7KTmQ9KeBYnMafoFlBZV8WpFJifS60730Na+CICVDiBnwduKjml5JPB6gkz0svlbfA6HY
ZjYnzMIsbImOzerpckeKTPWj6q7boncmf7IMPykF7QcMiaMv76y/bErLfNb6TKu3Sfm5R
IfINIpxo6SFitzYkz3clzfQ7NjnnGAs02eV9MXeWMiE+bQleE/Oz1POKiDqveByTb1jTD
TOgleuYS83pVkSK0oJTYUtxLbQo156do3G31KnCNfFhSBrrqMiLUKph4+q3gtMNNMxg==
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=iMOYvmyi;
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 95004606A32D;
Fri, 27 Nov 2026 13:40:42 +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=iMOYvmyi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.180
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795786841;
b=mVqEciiOHThBdjUTPlFHaMfYcPkF/8aLZbiXB49a2RVuYhpcf/JrjVmuDKiz+9Rp5I5A
rxHtFjiTWjIMqkfxIWtJkL5PudSv1CcIAUOsYgsbOwjR7Y+lWHSTfBEGTYWfHXMi4FR9P
mzZr8Dt6IY7DL32wp7ddtIJZAB+wp9ygsz7IoDPkczZP6qSpEMGA6lNltI6VClPdRMUPG
hyar2RZ7owVJ2YrhB5XbJS+9MZd7SfTNtuOn3emFLg4kp4NcW3MaWcI+TpRq/8iPui1tH
bEX0o4gwrjVjZD6yyPaMjz0JjxunEsYQ7wsZ6Fb3qUOAoAaQsIzrdv9G8qXSQNYEHCQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795786841;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
MIME-Version:Content-Transfer-Encoding;
bh=W6jq9zG8qTie1UEKVvkOyRB8yWcqAk3YziZ4QEPwCjY=;
b=bpTktgbBe1kjDvYfKj+xF3jNB0m89nLDcjtkqiEPtgZ4HAt47wYIQ/PhPS4f6Dl2tY1m
CZG1CHjWBAGh/oS32Q/fJ4lh8eGYVxXq2sCe3ib+7Vxh9iA0SghAohd7bCVQHyVVclGcL
Wn2PNcLDcQJ13TFIYU/XK/e2ZGf68cWCaF6YZhC0PgpXQ+Fe47cwF30qHLEKM60N75mFG
hHsi/POYcmPNLJK0Ww6YejxAJtQzGlybcVa3l7ONsFo9WYjhXIDQWbiR8YNyt5BdB50Rd
TrStIB+Y1s0qBoKqMujND3vRISlSqxmMQWyE8uYtfjirzH6E9Ii7K1XvF8TRWVexIgw==
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=iMOYvmyi;
arc=none smtp.remote-ip=209.85.210.180
X-Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180])
(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 48DF0606A324
for <netdev@vger.kernel.org>; Fri, 27 Nov 2026 13:40:41 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 48DF0606A324
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-pf1-f180.google.com with SMTP id d2e1a72fcca58-8b68e59ab33so5955074b3a.2
for <netdev@vger.kernel.org>; Fri, 27 Nov 2026 05:40:41 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1795786841; x=1796391641; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=W6jq9zG8qTie1UEKVvkOyRB8yWcqAk3YziZ4QEPwCjY=;
b=iMOYvmyi8ceJgJ4tNV935CSfaXAW2UUPeryP3zW6Ux3+GzyqOlf7tlk0C5hvfu0JYU
Sbd9r0Y8kfTZxGgZjOWpAWKIJZKeSZj2Lvf7JWhjJLhgBWKRGWH4QOrUdqqT/SYNI1WB
5oNavjqAKp5FEs844JbzG0OQIs35plPLMvXuvJvSo0uvMG4Tl7x1fEhZeOmlCnFQiKkq
GIQns+ltr0OXXzzVvEs7AJRq5FYWBRr1gvoza5hO+3uoDAVtiQJUc16k7wOKE9J+Q6WE
P8Bbz0GKvv6s/g7UawWC/ExNZ+vDSNEL3PMtNRwujQWjnuCkY9QIJR+9Zjln/6HgC1L4
NKzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795786841; x=1796391641;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=W6jq9zG8qTie1UEKVvkOyRB8yWcqAk3YziZ4QEPwCjY=;
b=WDkwokyrLFZzREVQtU11jypcdTUN5/OAqJOre5qM7uHSDSv9hutH+M7r7Mj4CeZOps
uDt6Ol7fo42T2XR11I6sDrFKxjm2NiIms+E+YO8q4CV1FyzAXoDN52UpXlXmpPmwdG6y
YEoSdcK8j2TjGfF7nA433UI3tP7bzEFMG8WubeyfjzNMXLJozX86BUDjJsxIAqPt0BjL
a3EuBc4ZcIkvWSuzXi8JdM5LQgq+fx8JovHPDDnKByPaJiHi5WH2ROSbuQMMCHVoTe5u
nKTBM58m1HYERUsJEYySGmXli3xkkMC93negdgJIEmiwxwaB/o6EJlLbuUrHXoSWm1mm
e7+w==
X-Forwarded-Encrypted: i=1; AL+hErHSP1Zre+lZyAJrkO+NyQf2FXxUuzooD+Kh/3B+twRza2PVvZ8iTSuS17TEieB831neaIKmNoE=@vger.kernel.org
X-Gm-Message-State: APuU4Z/UaeERcngSDhqffZ75TrquptMb7OtKsKFIHtu8HXqHS/Ct3FSq
bApiRdPWp1+lXmtaBWJkLv0hYEJ76SIvXdDfD5oSBRrbW0/31PrWrHBs
X-Gm-Gg: AZFdTZet03vtKYND0tDkQAg2GEmidmAmjm07OiECznAClSJFa6MLtT1nB0BNJwsnNS3
b8hPE/WgWyabfoCCuaETQzpyFetzWc39pZjwbu7LV+6xudb3Sxto6drVgm19FUxKS5+x81q9HKR
ADF8qn4WzgcRG4Bv47pABy20bEyK1B3tDOa6n8cp4SEUIcOGtsYmPnmCJBEQCtZzYnhAb/pplDE
JrwKW6WB/qRxs0DQlgYynrQnup83lvAvvWNIpnqXTui+RgOhKdW45+9srue+ijTirbw+sallrwt
h8ysxelyDPkeBvckqTCEwhYf0n2tcvKfvS3Yhju9TIZi2P31zhtsgIljWZVKGoHi2Pel1/VegVH
Oxa/EWpO1VVZphtvacGUQ+lwGFD0vD7lVkkktqjuht9aDojmaiqio5ZCG+g7yTvdnmnaZAZYfM+
8gbELxjkyE3d2VFC9h7hN6hQ7ylbWT4MyW6dLw/tGWbpokeRwfJ7cN06jsOEE7g6nYj50HoYWDO
WfHo48Vs6DD+C0G3A+I6oZj07s4VLnQvY/5uv6xMreKc1xa0LCVstbBzvLXFTatyrySv8vPdRlO
uHVPNy8iUijMHS2+l+Xd0ZEtXyTzlzz0rjKewxuFIRJ7F5JhpTDmDj8Dnm3EurfeZoAfSgz2gTO
UgchDELFin9P5pYfCv+b3sxtfANzBLdIDNnmWqQ05oI04iwzOiSLpJtRQLhJ60K1fuCeQaQgSfI
GmJvVCIt0RXQ6M/wqktA0N8lTz3rtk3wErWjkeYurc
X-Received: by 2002:a05:6a00:b80c:b0:873:f7a4:433f with SMTP id d2e1a72fcca58-8c87beac95dmr23402128b3a.26.1795786840675;
Fri, 27 Nov 2026 05:40:40 -0800 (PST)
X-Received: from LAPTOP-3B99V33A (ec2-18-138-229-8.ap-southeast-1.compute.amazonaws.com. [18.138.229.8])
by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c87285b60csm12705838b3a.9.2026.11.27.05.40.37
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 27 Nov 2026 05:40:40 -0800 (PST)
X-Cc: johan@kernel.org,
david@ixit.cz,
kuba@kernel.org,
netdev@vger.kernel.org,
stable@vger.kernel.org
X-Mailer: git-send-email 2.51.0.windows.1
X-In-Reply-To: <20261127134029.1813-1-luob87709@gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list