🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5638

Re: [PATCH net-next v2] drivers: net: xgene: Fix dma_unmap_single() size

#5638
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 19:00
25 lines
8739 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 15 Oct 2026 14:45:46 +0200 you wrote:
> In xgene_enet_refill_bufpool(), the skb->data is dma-mapped with length
> len which is set to XGENE_ENET_STD_MTU which equals 1536. However, in
> xgene_enet_delete_bufpool(), the same buffer is unmapped with length
> XGENE_ENET_MAX_MTU which is 9600. This may erroneously unmap other
> DMA buffers or cause other issues.
> 
> Change unmap length to XGENE_ENET_STD_MTU.
> 
> [...]

Here is the summary with links:
  - [net-next,v2] drivers: net: xgene: Fix dma_unmap_single() size
    https://git.kernel.org/netdev/net-next/c/03977f8f1a63

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179252281336.159319.869202945975868338.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349470-linux-kernel-netdev=dewy.ru
References: <20261015124547.29996-2-fourier.thomas@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349470-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] drivers: net: xgene: Fix dma_unmap_single()
 size
Date: Tue, 20 Oct 2026 19:00:13 +0000
Organization: Usenet Network
Message-ID: <179252281336.159319.869202945975868338.git-patchwork-notify@kernel.org>
References: <20261015124547.29996-2-fourier.thomas@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3929951"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:l3Sp8YPL05ByqMlNEBVL2ST3ZmE= sha256:+LBMR9yhMrgSq8mfl4NjmuRcWYP7IjwRtuefU4Nq/Pw=
	sha1:j3CrYR3OwvMo6fWS4nJ3zsAAByo= sha256:pXTKSkf2EZmc0DsA6R7ymWJLQDZQ6p6gKMIpMVQA+Bo=
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 4D997110DE2; Tue, 20 Oct 2026 22:05:15 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, 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 rupEn6s5PsNL;
	Tue, 20 Oct 2026 22:05:12 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349470-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 10DFE110AF2; Tue, 20 Oct 2026 22:05:04 +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 6CF7E388A5; Tue, 20 Oct 2026 19:00:34 +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=1792522831;
	b=UyKbbUFANMsUccNZQzUZMYiOMztQ/iEf2B6HIFCLagVhtnTIfsKgg80YbrPRMV0LCgT3
	 VQUdvPwBsPFwe77yaxrzJxhvyaadFuoYoOdgZY+MqM/xb9XpPzeji+g4xQcM//xnzrayr
	 5N3MhNZkk0M9Kp2XlGHfEugZvHcSgoX/1iIKcQf6PfPAzjG5wEGjeCh1h3JKpO/AxxOhV
	 AYCY75wlgBpJSi6c+2ql5bNfKnb+05XDOrZFrknt38/2ICW5NsVZbbxcOyCvR3fRU1TuL
	 SJxaRHD58ykFvrwb0k236eOCITRpF76n6ZvnMZaILlM56ivV9BeDYiBD6wL77L2ReQA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792522831;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=OALui8VPPsqtlTWoUZ805j+WxFMBzcSfNJPuSjq5U0M=;
	b=CvWjuhYIiukkC5d1jJo9ty5Mizl5Ryx2nKRKjXzxuRLHKOOb+YlcWTkVwooclibfNWPh
	 fa/eXhlVNorHWaeuGc6kS3Vj0m9YQgUAGtK0FrGTI1y3nqj9gLWQCDRGvyt8UpS1uKtDX
	 spSYC73PrzKGeZZJE68zgbF+v0MOl57wozOLfnxTlqK5buK7+x7/Ep3kPBrZE2eLmQF3P
	 o/IdDXLCL0C3jabh/EdEZUjdVV9Nek2WyD6lwy+pVddXzSnO84MfFQpf6V2MbZdWpoNZH
	 P80OER06QuJZ7fZ27AVUZdjNZXTikI35ybnht3QueAQcuejHjYN0BTuLjqKVo9Eq/+A==
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=hUxkKKEO;
	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 3C24060A2604;
	Tue, 20 Oct 2026 19:00:31 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hUxkKKEO
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792522815;
	b=eJ2U/gJv/pUBVJRAMrHttzpxKSV9qAsWbLdMITHqZoAjw/T+3f7Nl2ua7Of6egNA7GuZ
	 /TaGNA4WXLFMERd1krvGO6IuwSjbqVAUO0YJGcJF+rHI7jRBgPJmrBnZlT9gL6VuWFdER
	 9kL3bxSPfie2Fo9gzxYbhKaZ0ygLoxsmuHD6TKHNZ83hhx5Bwx/rs3b1VftQrSLdyqxJO
	 KAWWjNJf/zB6nHDWBYh1TanEDSURDAhs75ugf7Q2q4WijXujqhKFh7MP5HuzfcAYalt9f
	 vwJ7uPOpyzemaryYcgzfLxOBVJSxD1pGaSZM0LEWTa36+xNWsUpH8VGvogG0pZ0UBPg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792522815;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=OALui8VPPsqtlTWoUZ805j+WxFMBzcSfNJPuSjq5U0M=;
	b=te4R/2OosAETMgYGvXmBE4h/PBUXFweHtazL8aIqBrBurZLBLZ8aPbSdoRHrjvLUk9Vy
	 Abc9fo+1Lhc5YOP0vRFn/p3exJOsiorhlHZbgxkBcI1a/ouxMdv1KuzouwuukQLfFYSTe
	 gT3zQCvz1paAYi0Jp2wP4akumjdGBZCJ2N0f7EojQhfotsFcguMxipjEAoCVN1ErcVKR1
	 KBS0JyZ1qFvJII6mOGqsQgRe/enSZixhVNTEJX9iVspArltb4zRiI4DN0hAO8YuwLgR79
	 CKGDEwz8T2FObDgchWH6et+d12HYff1gRUe0SQ9Qtg9NvHoQCNfKWKwvW43Bz9proxg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hUxkKKEO;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2005D606A31C;
	Tue, 20 Oct 2026 19:00:14 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFBCF1F000C9;
	Tue, 20 Oct 2026 19:00:14 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792522814;
	bh=OALui8VPPsqtlTWoUZ805j+WxFMBzcSfNJPuSjq5U0M=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=hUxkKKEOxHjhWNzs2TFQr8CPdhjUZlZHp2V3He/8XOu3DBWn2r97HuHEhV32Bc0os
	 3E8pSKe+diT1/XwtUBqK6xowOkrOJtsmSmnbKw16oEFkHf86JV+mPjmwVH/zFbd8qV
	 rCUTq/MFR2uz6aC7dURljavlvawo5FyciWlJyiahEsQuTg3q8vZgyTNe5uL4/mOOh0
	 lw5TZLWFZTiSprRn4FWtf1qvjdBsJA9hEZkVmndmQELUOk2T4omrd4ccJ63NmlCwgr
	 PbAdjexfU8eGkHBZ0Kpa3ghD5/62hk5f86Vqa2eAe21ufnDNIBtLCqt9P23t2kBV+5
	 PngutJKyu/sHw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B44563808209;
	Tue, 20 Oct 2026 19:00:14 +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: <20261015124547.29996-2-fourier.thomas@gmail.com>
X-Cc: iyappan@os.amperecomputing.com, keyur@os.amperecomputing.com,
 quan@os.amperecomputing.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org