Article View: linux.kernel.netdev
Article #8615Re: [PATCH net] idpf: free the skb on TX DMA mapping errors
From: Simon Horman
Date: Thu, 29 Oct 2026 16:07
Date: Thu, 29 Oct 2026 16:07
25 lines
8977 bytes
8977 bytes
On Mon, Oct 26, 2026 at 02:39:40PM -0700, Naman Gulati wrote: > On Sat, Oct 24, 2026 at 8:04 PM <netdev-bot+sashiko@kernel.org> wrote: > > > > Thank you for your contribution! Sashiko AI review found 1 potential > > issue(s) to consider. > > > > Critical: 0 · High: 1 · Medium: 0 (1) · Low: 0 > > > > If you believe none of the issues are legitimate, please reply to each > > issue of Medium severity or higher and explain why the AI is wrong. > > If any of them are legitimate and you plan to respin, please let patchwork > > know by including "pw-bot: cr" as a separate line at the end of your reply > > (one such reply per series is enough). > > > > - [High] The fix leaves the skb leak in place for HW-timestamped packets, > > and the Tx timestamp latch they hold is also never released. > > Both issues are pre-existing. This patch does not introduce any leaks > and these should handled separately in the tx tstamp and FLOW_SCH_EN > code paths. Thanks, agreed. Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID:
<20261029160712.GK257209@horms.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-353360-linux-kernel-netdev=dewy.ruReferences:
<20261024030401.852598-1-almasrymina@google.com> <179289749460.3134.17105687099040790537@kernel.org> <CAMP57yUindVWCLV4O=Qki61VmZ2y8hjMPVJ51UnODz3D0LKwXw@mail.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-353360-linux-kernel-netdev=dewy.ru From: horms@kernel.org (Simon Horman) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] idpf: free the skb on TX DMA mapping errors Date: Thu, 29 Oct 2026 16:07:12 +0000 Organization: Usenet Network Message-ID: <20261029160712.GK257209@horms.kernel.org> References: <20261024030401.852598-1-almasrymina@google.com> <179289749460.3134.17105687099040790537@kernel.org> <CAMP57yUindVWCLV4O=Qki61VmZ2y8hjMPVJ51UnODz3D0LKwXw@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2043388"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:/Kjo+HhwnmmGb4wLDePkJRrIxWs= sha256:RZK9YMA8PeG+cC33UvAN9s8LpS7T4F9B3oVxR+1+q0o= sha1:e5uxlShNNSGs/97CFrs/olzSlkI= sha256:OYP7hUc6QypYqrfSu19DqT3qmzJZv/myMntbdeiDUCI= Content-Disposition: inline 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 C48AE125C6C; Thu, 29 Oct 2026 19:12:20 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 m4v44-TSxdCq; Thu, 29 Oct 2026 19:12:18 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353360-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 CA30E125C69; Thu, 29 Oct 2026 19:12:09 +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 DF20D30657; Thu, 29 Oct 2026 16:07:19 +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=1793290039; b=i+65i0Z+KHH01B3FfoCsI6z+ela5jKlDmNdbO6Q4o4Xo9CyFMGK0dIzaEubMQzRgZMM5 MvMmptesH+BHOkO6mHj4Y1sYUa3Au6987lH9eMoRP3vFm235K1X+PClzCDcAgClTlvANX yKjA4YQvSq8PPpK6EOMZO5Sy3aiw1snlsCP3UYtBIiAkZPJvOxo8swqJ5aRvmvEu23fGp 4P8tGX37w3HspNZ/P2IR0FYBJhKl7E1WDwxXlHsOUJRMvZR9vv/0EGVHpVlriM1XNI7ko KPzR3kOzTNS1hZgMHEjeDAJk4XZ/oaMV5Pf3r6WIcRVfNUlZjKyZJcH1NWKf7cM5jMg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793290039; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=6pusSa3A5cdps9One/1KbVhimt45kuAJaKKTpojXqC8=; b=MKPDdSTlKtTP2XT2ktupDBo3MeK7piRJE4B0Q7JaS5hrDef41Z18k9Eb0FG8MlDhPQWm xMfGDEqdlv6lW8Iln3EXpDrS4Hetv2lQXfE9e8Pk/O+wCPd8neowEnDuU9DI2jtn1b8vm 7Th/z5vBVlDy2lOiqTN1hxMnp+lKBhdoiun78X23VuL9CdsdD2FS0m5rMrUQT4yxkekEw 1tupi4eP6qACaPuaa1GlMEsJoUFJc3rXece2IPICEzCYuBwtNdB8diBTojI6GB4eWHWpv DpGdmjD5OTGK2WYd65EEiUoWghJws6RRgIWwuF4wliHLQEsjbSXolc5c/AbGeDN3bTQ== 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=Efty9sR5; 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 4F559606A32E; Thu, 29 Oct 2026 16:07:19 +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=Efty9sR5 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=1793290037; b=KoCsNbwxgoHJ0u7RVBcrG2DNnHKKNerbM4rn/ILLv0UNJbDcO/wuNkdKvulDMM5kUi7Z YPU4T+wSTOyERg0lUAW6JpQg4N/2HVa1jeumHTyqgvGYnm6qoU/S7qtFzWJ/kKIqE6Y5n W+2n4zmCIl99RJf2uKMBlHlLI5PbqZB554OJ62tuuSs6yLmlAuhNbRytbD7sm7iSKsxsW ajXv+CzR3H/wlQvQlZRvr6PY9oqCCm6FwVfqOzs6RSfjsgHo3/6EqW+GichZs1AUmxqOz Jis3SMVJ9rufeqFPndCocfXF+ZdgI76fTHEzxmXkrO5tgUCg9dkkr7dn50SDMIivF2g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793290037; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=6pusSa3A5cdps9One/1KbVhimt45kuAJaKKTpojXqC8=; b=Dhod1QFz5AfQtIcoEtTs2cAVtWpvVSBRh97q01aMxrqU80iyLPE2R18WMNeElF/E/ZLg eNfjXQNxmgM9/LMlELRcIuSCzrm6ASYrq08O2F/ZCngvhvP2WwbjuxosM9bLbWuoQufBD ZBiLGIRalAj7BTiXTa8JYjg7qrPp1CZpf+jbNqop8abhq7P7pcScD7BxUxFW+KQ4Fs6tN 5sxRHY9Ypp0pdvxQ6zq2JTyD1+t09HlCYpNQniWlwR9FX/JqC2gCVEv32DPzBOiHdTvU3 fdHUWYkiZ1os0fl7vCqokwKBAqSApcWZnHPjKKSc4zXk7mSRR64ej5rVYaWU0xBpfYQ== 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=Efty9sR5; 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 7242E606A31A; Thu, 29 Oct 2026 16:07:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB89E1F031E0; Thu, 29 Oct 2026 16:07:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793290037; bh=6pusSa3A5cdps9One/1KbVhimt45kuAJaKKTpojXqC8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Efty9sR59VAPgQ6jmItiIf7UV13TSifhZD2TkcMjtyOI0vO3ZDwhptkW/V6HMbkwJ Yp7nppuJI5BRMnbSUcGfksAUdaEoUFX2dEw/ePNn4jcU+DZgGkiSfikPuS7tgXPkDo JFYS5/vzbJn+tDZfBq8NKJG0nA7NwyxjfogoE3Irrd7iGuK6+otM6Vp+8KBBvbkKQi FiBznVuEZkjMGaB7qiDpKXdVxrSgUe85wGffX3JruIFJOkHEEkq+8bqzkrc++8j9du cgqOqGaT8P2BuuTcrREZVXnT8f5+VpIkdrOtzUhobnU15XRfApgfgdnFR2IT/GDNWA 6UbaJyWfoq1gw== X-Cc: netdev-bot+sashiko@kernel.org, almasrymina@google.com, aleksander.lobakin@intel.com, anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.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 X-In-Reply-To: <CAMP57yUindVWCLV4O=Qki61VmZ2y8hjMPVJ51UnODz3D0LKwXw@mail.gmail.com>