🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23855

[PATCH net v2] net: fec: fix TSO DMA mapping failure handling

#23855
From: Keisuke Tsukuda
Date: Sat, 28 Nov 2026 12:05
126 lines
21830 bytes
From: Keisuke Tsukuda <tkdkei@outlook.jp>

The TSO descriptor helpers free the skb and return NETDEV_TX_OK when
dma_map_single() fails. As this is zero, fec_enet_txq_submit_tso()
continues after the failure. A failed data mapping then reaches
tso_build_data() with the freed skb, causing a use-after-free.

Return -ENOMEM from the helpers without freeing the skb. The caller
can unmap staged descriptors, free the skb once, and return
NETDEV_TX_OK after consuming the failed packet.

That cleanup must retain BD_ENET_TX_WRAP at the end of the ring.
It must also avoid touching descriptors already owned by the MAC:
the helpers currently set READY as each descriptor is built, so a
prior transmission can advance into a partly mapped TSO packet before
a later mapping fails. Leave the first descriptor unready until all
mappings succeed, then publish it after dma_wmb().

The error cleanup in fec_enet_txq_submit_tso() came from commit
61dc1fd9205b ("net: fec: implement TSO descriptor cleanup").
Backports to older trees need that cleanup or an equivalent.

The mismatch was found by inspecting the TSO error path. On an i.MX6Q
board, test-only 7.4.0-rc2 RAM kernels injected a failure before
the first data DMA mapping using an unregistered netdev and fake TX
ring. The unfixed full caller produced a KASAN use-after-free in
tso_build_data(). With this change, a ring-end test kept the first
descriptor unready, retained WRAP, and freed the skb once without a
KASAN report. The probes performed no real DMA map or transmission.
The hardware race and header mapping failure were not reproduced.
Network selftests were not run.
The updated FEC object built under ARM allyesconfig and allmodconfig
with W=1 using GCC 13.3.

Fixes: 06a4df5863f7 ("net: fec: fix improper use of NETDEV_TX_BUSY")
Cc: stable@vger.kernel.org
Signed-off-by: Keisuke Tsukuda <tkdkei@outlook.jp>
---
v2:
  - Use dma_wmb() after setting READY instead of wmb().
v1: https://lore.kernel.org/netdev/20261127033906.9561-1-tkdkei@outlook.jp/

 drivers/net/ethernet/freescale/fec_main.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index f7636f23d..2d1478a2b 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -746,10 +746,9 @@ fec_enet_txq_put_data_tso(struct fec_enet_priv_tx_q *txq, struct sk_buff *skb,
 
 	addr = dma_map_single(&fep->pdev->dev, data, size, DMA_TO_DEVICE);
 	if (dma_mapping_error(&fep->pdev->dev, addr)) {
-		dev_kfree_skb_any(skb);
 		if (net_ratelimit())
 			netdev_err(ndev, "Tx DMA memory map failed\n");
-		return NETDEV_TX_OK;
+		return -ENOMEM;
 	}
 
 	bdp->cbd_datlen = cpu_to_fec16(size);
@@ -792,8 +791,11 @@ fec_enet_txq_put_hdr_tso(struct fec_enet_priv_tx_q *txq,
 	unsigned int estatus = 0;
 
 	status = fec16_to_cpu(bdp->cbd_sc);
-	status &= ~BD_ENET_TX_STATS;
-	status |= (BD_ENET_TX_TC | BD_ENET_TX_READY);
+	status &= ~(BD_ENET_TX_STATS | BD_ENET_TX_READY);
+	status |= BD_ENET_TX_TC;
+	/* Keep the first descriptor unavailable until all mappings succeed. */
+	if (bdp != txq->bd.cur)
+		status |= BD_ENET_TX_READY;
 
 	bufaddr = txq->tso_hdrs + index * TSO_HEADER_SIZE;
 	dmabuf = txq->tso_hdrs_dma + index * TSO_HEADER_SIZE;
@@ -808,10 +810,9 @@ fec_enet_txq_put_hdr_tso(struct fec_enet_priv_tx_q *txq,
 		dmabuf = dma_map_single(&fep->pdev->dev, bufaddr,
 					hdr_len, DMA_TO_DEVICE);
 		if (dma_mapping_error(&fep->pdev->dev, dmabuf)) {
-			dev_kfree_skb_any(skb);
 			if (net_ratelimit())
 				netdev_err(ndev, "Tx DMA memory map failed\n");
-			return NETDEV_TX_OK;
+			return -ENOMEM;
 		}
 	}
 
@@ -901,6 +902,10 @@ static int fec_enet_txq_submit_tso(struct fec_enet_priv_tx_q *txq,
 	txq->tx_buf[index].buf_p = skb;
 
 	skb_tx_timestamp(skb);
+	dma_wmb();
+	txq->bd.cur->cbd_sc |= cpu_to_fec16(BD_ENET_TX_READY);
+	/* Make the READY update visible before advancing the ring cursor. */
+	dma_wmb();
 	txq->bd.cur = bdp;
 
 	/* Trigger transmission start */
@@ -922,7 +927,7 @@ static int fec_enet_txq_submit_tso(struct fec_enet_priv_tx_q *txq,
 					 DMA_TO_DEVICE);
 
 		/* Clear standard buffer descriptor fields */
-		tmp_bdp->cbd_sc = 0;
+		tmp_bdp->cbd_sc &= cpu_to_fec16(BD_ENET_TX_WRAP);
 		tmp_bdp->cbd_datlen = 0;
 		tmp_bdp->cbd_bufaddr = 0;
 
@@ -937,7 +942,7 @@ static int fec_enet_txq_submit_tso(struct fec_enet_priv_tx_q *txq,
 
 	dev_kfree_skb_any(skb);
 
-	return ret;
+	return NETDEV_TX_OK;
 }
 
 static netdev_tx_t
Technical Details
Message-ID: <20261128120520.20974-1-tkdkei@outlook.jp>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.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-373106-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.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-373106-linux-kernel-netdev=dewy.ru
From: tkdkei@outlook.jp (Keisuke Tsukuda)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v2] net: fec: fix TSO DMA mapping failure handling
Date: Sat, 28 Nov 2026 12:05:24 +0000
Organization: Usenet Network
Message-ID: <20261128120520.20974-1-tkdkei@outlook.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="942729"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:73C55iWvVskPpM6oMx8O8WBKnGw= sha256:jKeWPM08ZhmjsxyX+ldXRJZ1OnG3iCFKDXI0logsQlE=
	sha1:eTpOId449ikgYZSdor0p63kdUHg= sha256:fBiiYkXyVsRGwfWCPUph+rmo7J7YG/zCmynRb0Ry/R4=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
	X-MS-Has-Attach
	X-MS-TNEF-Correlator
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 58E84125F70; Sat, 28 Nov 2026 15:06:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=outlook.jp
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 ea38oH7QocLU;
	Sat, 28 Nov 2026 15:05:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-373106-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=outlook.jp
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id B385A125F71; Sat, 28 Nov 2026 15:05:43 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 68653258C5; Sat, 28 Nov 2026 12:05:39 +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=1795867537;
	b=ukNoXIbXvZoL7OadhH4nnD6nBFOeIdEpeFdIECLiTcbW0nI9vu+6Yzl+Balim+5yONJb
	 n1EoSSfgdDME3nPl5YdHRPJn97hEeWsRHdtIyZaKETaSEHlw9zaeMlmxFCBmoS82On7v9
	 AlDb7We90+lMZJwL49IgHbYLbIOuCt9FKMNx9r0/Pdz5nfcZIaT8BO2fjwttXVe7b/68H
	 O9Mtlbqgn5BjAjCG3Oy2aT4oW9W3M3dS4ZmAj6a0arN9vtSvlL4roJY2OqaK/wavr19Al
	 MEH8EDFVAQw/t0JSre03yyC6/m1MXQyofsi7WCUMflXeWYRcYA1cq6M1cOfSRFFhQaA==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795867537;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received:
	 From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:
	 Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-OriginatorOrg:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:
	 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=9zI6SYi35CutzHC/D9GpimZI7G8JR8lro/mVzRI6blU=;
	b=K5AzvgPi6N+kNTc1EhkUcgBJxOFrSE1JtUEjLPC9OnYOIALsCvLZDy2ux0vfBBTKmP2Q
	 kvQTQpB9L+9oGvCarSLkCkurN63KbZTo2Rr/VrDUAQnCX4b7n5cRbIeC8AhRwO/dygZZk
	 C0xEk6+axSwPbRbmU0KIahzUWdjOhxKszry788EJaW4hFoP2+q06+7GFgmJpWTcCTx2nI
	 1HDR2BvIAeYNhygYwkhyBQvCMRU2dtjpWYbtB8oRnd45rec+4CVMjrRrNnN/IwIru4HZy
	 TZSpMNQnhvbQUvaBOgGuKoDvrF4CfEJYB7noq62sUnrtZadMlMY0kVemk20neg+Cr/g==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=OUTLOOK.JP header.i=@OUTLOOK.JP header.a=rsa-sha256 header.s=selector1 header.b=CsKzX0hY;
	dmarc=pass header.from=outlook.jp;
	spf=pass smtp.mailfrom=outlook.jp;
	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 507A2606A331;
	Sat, 28 Nov 2026 12:05:37 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=OUTLOOK.JP header.i=@OUTLOOK.JP header.a=rsa-sha256 header.s=selector1 header.b=CsKzX0hY
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.103.66.11
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795867531;
	b=L3hBr9mZ0YSLJGlt+RoKoMAlNOymh7c3zuvdbJH/P4iA0FwEJCZTyNBxDHGJBxvCSJlK
	 yCU2YHXLeJQzHUiyentvbSjVZAYeJPK87I81a4n/LGAUM3/FpxvbW6m65bFnx6MN2iL9X
	 SlwGSWvrfW3MHATT1iSomypfYRKcPzjqct1xAse5rcy21NCCiFgCfKNW8EMmuAr4TfSve
	 9dMOJozneAaxHrGl1aAb7nXDNfJ81Omb+GGTnLGcsQIlMK1NK2EqdgASKStQ5QVpogj8c
	 03xjQo/VAm81gnE+8YrldNBsIqHUkDpXvV0v2qP7mvmU0srLbqPRDciM7Wyu7/SDcFg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795867531;
	h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:CC:Subject:
	 Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:
	 Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:
	 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=9zI6SYi35CutzHC/D9GpimZI7G8JR8lro/mVzRI6blU=;
	b=2yv4YR0ZA07plulJCoi5722qfrBBf5fMn8Tf90g1EAX64QCAO+x3OgBNeTmNaapyxiiB
	 WWGxk4MwvYDh0H+WxIZGPyRNLVFq1KqUk/xuQDM3jIDlNxJA0N7gne2T5reQCtoBNcHr5
	 r7xKFebDp7P3RbH6e3fFIYBC1+6xFIfCH05kNDDpj6kWDzlg+nmoucBFCS+5m/33JOFhK
	 1s/pg+AbeEmCqmt5N0+GCyz6Ait4WWYeg893Yoq//hCj7+oBtu3BHW4cXu758yqPt3z7i
	 OgcUBkXQWlrc5UydXpuJoAbufxRyrKkhwn5rL3KbUEJ6B1h/KsRgGF6Hg0gURzCB6hA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=outlook.jp;
	spf=pass smtp.mailfrom=outlook.jp;
	dkim=pass header.d=OUTLOOK.JP header.i=@OUTLOOK.JP header.a=rsa-sha256 header.s=selector1 header.b=CsKzX0hY;
	arc=pass header.oldest-pass=0 smtp.remote-ip=52.103.66.11
X-Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazolkn19011011.outbound.protection.outlook.com [52.103.66.11])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D99B8606A31C;
	Sat, 28 Nov 2026 12:05:30 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D99B8606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.jp
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.jp
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=PklSF5WnmJciFjJqCc2EhTdfiC+oJWgyN/dgZiDfFyxJtlHbvrh2omGrKroytWPHlzKy0UqwvrIZtK0TStnkXGEJAa/jJSsXIH6MZ9cl5UdPYZWSq2QZ6vhTfrC5ugMG5lNQ8N8cRCHvEL2k7+aTqVXQFuusELljBqCd0v8YDLiYmZ3AnzN4HkuOX0U1KD1/TN8cNXnTZGdOAJgyVvAxngrDVnqy3vENgq4voh9CJBoTKQOLXopEea+RXtTq+USjMVKzjG9XSGIS/xxdzGZC/4pNjVGckkoFVgnwaBduUfKB8tygLhfe5rM9GFLOavWYgxunAt7JLWIGCLVLyDBf/g==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=9zI6SYi35CutzHC/D9GpimZI7G8JR8lro/mVzRI6blU=;
 b=iGRqFJrSTh6YQ5SfOayKDr6WdQE/YTiX5oZeZMpEq3LWSL9e9lYjzehb5/SSgCE8FvF9gmnCMZVnJEjU1sdIYG/tLF2nY/g0IS79Zv77YY75F9gWO7UWT5VWs3apvdaEyiZbxs83vWtCD3vPk/FHKTJThJEc/qVETHaumO1D+G7YRgzBDL92s5pvYH7855delpzBKQhKa15/VAwLyz6k5tSg7gzKYcexOEZyv/snwke6gjxCDhajvZNB6p/WIc4xoi/ZOkX48CFBXwzghBEkrZM5D2qlKh2npt8ui4EuUmTjjT38ts40n/m5ESrwoQojmUXakGSUzBY7YQ6RJJ74Wg==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.JP;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=9zI6SYi35CutzHC/D9GpimZI7G8JR8lro/mVzRI6blU=;
 b=CsKzX0hY6UpmEDSPPKFoHYyMiTm9hZfykvrOQ95n5q8E8OuknDFV67O6xshVHnQiBp6jaOUG5AAHcwEvpG8kLM0sBrEWeN/rj3O5hUEMj7LbGJmwDWOc/YHmxpKUyDjhKAseM2rSZHtTATifNhFMXDvxZKZOTTC6bVF+ebZPemJdAvfyth/hAckGkE8/vpHjzSsYQHzNhXd7BNdd3eDHu2DsHh1HKeCZGWF5NxEYR1wW1RDoJVgE+MmYmv9tJyCjtqRWl5JuwtP1+4CLuEiG4DEjdggp5fmpITMtyO9TCIHRJtCjuG18zY609GCYriq5xzmhZ6HaB4m1iCd/f29Uxg==
X-Received: from OS7PR01MB14363.jpnprd01.prod.outlook.com
 (2603:1096:604:388::11) by TY5PR01MB632019.jpnprd01.prod.outlook.com
 (2603:1096:403:52b::6) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.11; Sat, 28 Nov
 2026 12:05:25 +0000
X-Received: from OS7PR01MB14363.jpnprd01.prod.outlook.com
 ([fe80::eeff:dfdb:bd3b:591b]) by OS7PR01MB14363.jpnprd01.prod.outlook.com
 ([fe80::eeff:dfdb:bd3b:591b%6]) with mapi id 15.21.0662.007; Sat, 28 Nov 2026
 12:05:24 +0000
X-CC: "frank.li@nxp.com" <frank.li@nxp.com>, "shenwei.wang@nxp.com"
	<shenwei.wang@nxp.com>, "andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
	"davem@davemloft.net" <davem@davemloft.net>, "edumazet@kernel.org"
	<edumazet@kernel.org>, "kuba@kernel.org" <kuba@kernel.org>,
	"pabeni@redhat.com" <pabeni@redhat.com>, "imx@lists.linux.dev"
	<imx@lists.linux.dev>, "linux-kernel@vger.kernel.org"
	<linux-kernel@vger.kernel.org>, Keisuke Tsukuda <tkdkei@outlook.jp>
X-Thread-Topic: [PATCH net v2] net: fec: fix TSO DMA mapping failure handling
X-Thread-Index: AQHdfzDAT7jK1PE/AUOGnF4jhwfOTA==
X-Accept-Language: en-US, ja-JP
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: OS7PR01MB14363:EE_|TY5PR01MB632019:EE_
x-ms-office365-filtering-correlation-id: 1df34837-6a70-4dca-ccbe-08df4d47e289
x-microsoft-antispam:  BCL:0;ARA:14566002|24021099003|19110799012|8060799015|8062599012|31061999003|38102599003|25010399006|51005399006|25031999004|15080799012|5062599005|41001999006|10035399007|12091999003|1602099012|40105399003|102099032|440099028|3412199025|4302099013|26104999009|1710799026;
x-microsoft-antispam-message-info:  VvfxUr4GPLFG1U2fa0DxxKiecksxfVKINrB8JVuCaFwRMpx0bFkF5cQbf3BovyZ2zK/GmBGMoSLLUCbxtfjn6EwafWnqvJkheRdTfkoSGk9ICaYoifWEsfxRqIyNepyJf3Y+VuEvXNqe40XTAWL7uXMYu5JT5qKxvf+R1fB5KmAlyFgwMXNDh+tUvdyjdqChjWktHYhvCJKhxArCIuu53YKPQrLOlZEgQISVkFy86uVEEdiZtdmSHCtbBXHVmt39ITIcEZ9yVAhvV3bUvJHN40EjNC28LfMtpAbu9f88U3C1Pf9XJt1VeMK77PHohpEXRXvpSPyNAIgTtvUME4J2FxOcUNeWkW5t2vQp6CSfrLM+Wtyr8jeZ54IG3jGxO2IKCT0OdRbq56PvkkAETDQlyRdXm1V1ah/jlnkBKHDwDHg9WU4KlFJUD9raRKMCIaH6eaPo4NV+bEPH8epigMZMlYJLxWeUA/53YeRmwtRxJVKFSENBBTSomtmfR5nY2Hsp+LreZZ6yNesXXY9O6qUd6sMMCXWAEHPT9tPR2ig25oQvMd6z7FT2AlG/O5QxvsJwiRygc7L2ffIGUGIFTefnpLnZQZTKfGn0bSM5JwCRFTO3A4/AdS54JXjPuB1O9IH3NUwdCA625IjyUYIu4kMzP+NRv2TkhRXYYyR+WDZxg4KMi7OEdO3vOuCpzppfoXT9TTdeIj9YLSHsDwUVPj5rlhj5/WhXroXANm3VmBskeqxMHK66eRCKFiB82hRF11wPDXFqnBHzT/dV8BRFlLM1strfk1TrSlIXCX01MrR8HB1aBUiX9hwaiNYnYNj0ldGpMiG8DY3A3oLpZPRzid32p+Dz8TYpxI/Fw/0dDjfe67keo3al8Rpbs8OtBPFGVpOvgW16nV/YRDwVVVZ7uPQrI61DXz9/7xfLyrqhUmpfteWWWXRQeveGceKK+Q0KHoxf5RK9U3p+qScRB7Qt6Sfbm8/lHv3SvFq5PPYbCh1vj6gLXs3n0dZftumDqB0Yw56y9LN4LtxO2vWDPKw9dd730IIy5kyv1tL2c82+00j17i+qIq/8RyTjW0dvZBW+gPb7qPxqKdxTnbvjvqbDMp99z+ywWspoWT3cLey4Mj0kbSkMO4lPib0FcOHgq8N9V6u6GiQQVhSMp+dSkApVnJI3qc2AUjoxtNzmqW0IARdSPOQ=
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0:  +FMMGBShT8AIuB9Es0dr2IkC/rbvJvccjN5rgWRhOPMlYdjI97c2PRf6uEB4YovQsi6gybixeAAXB2s21CwiV0RiJw6lprTRx0ZoPo7ZHHz2f7vKJHzTZwS4r+lTStlCL/is9kdZu7zE0OK5bHehXzgYv0HboNE1FUHBY6EDXhoPg0A2QYQvIZazxMoifrApGtclyoFOjMT6tKd4Rt55OYGe/MATi+Ym2zqiv3xqEXb5R8/IzDDyD+3Zi3NO1SVWrxyTmboqC/tUPFC1jMg2QY4/unbrN5n0T1kraggYTrhwZ2bOG44wesw/ShH5QzN2ah2R8GEVGIflZX8GYwn/LmHdMxoJ596vmwH9n2Lw7brB/V9gBBHwm+6dCOOmFO2pl47VRx/X6YYdzTKvDA855+OQv28sIJnVfmuDfzMxySiwB4ZnBp09XvRdhRj1NakM+E5T4oPwHc1Son45n999c57bu07yT9mkAjmSEDEojN7ause+L9WEJltsOhH4ceEYHmTc0c1J6LvTixowz2igT4Vtp25FX/c66yb40Jj3MQT/UGukFW1kJA+F6BglKYDIMc0qoGWZ+HaFVoKdmlT2iwp3L2AIQ+274hXvGnFnrtJzm2AqFAisXFXOTvIKZ6xdaXTm1Cj7DJtRpCJUVINF9gs2gZetmjBZCP7RZ2U4ewyORRI92SsALQ3p/C1NNmAfKti2s7qn2GM8QxddCv8W3TdPT76xja4ccld8nmQdQYMPFXm0+Ww/mlYEoSlWb6ZUjzXYCb/oKZM/IQJKPRE7J7yme+tMZFs+HkJzXgFj5WOhLVuztEGxi43COGr9VEb79sJxL1lgnEQagCJGGMDUJP84jlfRdKDA5r9mXfU2JKHG70lre2QZVnCQHuM8AX5TFTKgx2xE5DMA09MiJPafPDovu3P5unQNPNDOqY+3k+fwRZz/GQXZAnXxGS4w/7SJKvquOBdP0En5gvB9/VuhEEryXVNb59UACyGzCHhj6fRdbBTCquJfa/GM/CILHW/IW5n4FUWtAAabGaFozNMIGAI1bAG1+PzvtHTV8A+Dc0BrqswqvdgFlzEZAeK+SNGrzlfroTevEcBEQIIxNij0ylcfCFF5yKEWQw05UxJs8zYD6s62obq+bS+dxH95o+RoIZWblgpQNdBKVH/vKPJvH+I7p3cuuWI1Y2jBqR8lvNPCbcHWrm5ns8rcr9EWOuk5yykpBoZ3rNV4Z/Gl6bW0B5471qxPbW+MzoV9dcVJqfYBcr/xFIsAq6HrapWojmSLGPrzyaKxxBSs0YE9qFxo61XpawA/X3+DhcBmvWDrL+hIl/BWEhTf1AunZtfdWZmDCQCT6w0waajF7MhfJ5CFcIHgk8nvx3icecURRGg6nRA=
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-OriginatorOrg: sct-15-20-9412-3-msonline-outlook-b83fc.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: OS7PR01MB14363.jpnprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 1df34837-6a70-4dca-ccbe-08df4d47e289
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2026 12:05:24.7976
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY5PR01MB632019