From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796370925; b=p4NeHcXolcO3R8SaovJlGg57NrHv/rk1XxvjkGTfCQanBriER7u9qs0a5muvjmUsX9qM MpMnyduqVgQVH1aI06QgyiJ5IRBS/4aVkN2HbaqoTDpQvQUyWrC+rQpJXkxxhO3gegY7f AoOKbwZeMRAqcLXfiWS58c0V+6ZUJ0whmGvEusygefMOVXm7muqCDEv5y2ChK1/wMYWGU r6akAPrXUIFue+AXQujXYXJ1eUZI87KxOhJiqlOOQuF4la1aFNvn+YJd+4IsyN46b8a81 7TZCs+NsqU6SfL/9qp72csTOIj0tetCdZPKk3iOvlNXl1On25kyia6pBb0p7FEhAvtw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796370925; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=CU3BknfUnmaPKmjUOdR37DIcQvKt7dtfM38rSkMEtRk=; b=BeW7zJ1iSiUDb02L3ENpr3UAgTBuSZ8izg8WdQkk8kJMZYRBcHJSxmQKzJ74gWk2Do8y pP5QleLzI4PBE+nZNXD4CKp9n3AGaTZXsJ1HpoOu6hQmw36q3HxOUTXFI/LNacFZ5u58C ITu/WRXKJ1HocQCevA+jUBDAtHZmnkBVgBplKUSwwz3FCoif6U1tMDWRiTpGZFgzAZ/OU UVq5m0UAl+8V/2q5jreyIN9oe3v6FefG4qtGYTqQU7YNMqkgVdlVm40FzY7b1t0Hrti1z 8jhWnHqb05NMOOYpIYTqWjzAjV37TphiPT1g5xwnXu1+zqNLgO66Wu+7RKU68B4/ctA== 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=Lb9x16z2; arc=none smtp.remote-ip=100.103.45.18 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 7DA2E606A322 for ; Fri, 4 Dec 2026 07:55:25 +0000 (UTC) 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=Lb9x16z2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 052691F000C2; Fri, 4 Dec 2026 07:55:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796370925; bh=CU3BknfUnmaPKmjUOdR37DIcQvKt7dtfM38rSkMEtRk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Lb9x16z2XFPOtoCpGyitP1fo2i+g0vmBZi3oQUpZlIQvPizH4fu+kClLJTtfT2flo Yq6XyrisFmWaCaI5v7QFiqYLPkMc6sv0PpyfLvNj1qn7VR6wp02pvFxndFPM9KkQvY iykOIE2SpqpeN4POTqARabBxLKegkHbIPc9HAPrkojXOAspp1JA4XF3iesc7L8Wl5e SWxqBl8fTIeyWMI7fmgz/vyqGc8T3PFdlapTSVN6jnNdv2G/fru9szBHFHLzFZjkjN TvhgZemP/DkpJXQN2TMGxhIUdMQUIdUgW4YNfsJ4qe3x8/kg3PVSQ2+Q0o3QeUjaXg fEm84pwKQAwlg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] RDMA/iser: Fix a resource leak in iser_send_data_out() Reply-To: sashiko-reviews@lists.linux.dev To: "Wanhui Fu" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261204074620.1573327-1-fuwh1120@163.com> References: <20261204074620.1573327-1-fuwh1120@163.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 07:55:24 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > iser_initialize_task_headers() maps tx descriptor address > but leaves the mapping active if data range is invalid or > post fails. Fix this by calling ib_dma_unmap_single() on > error path. >=20 > Found by a self-developed static analysis tool and compile- > test passed. >=20 > Fixes: f19624aa9200 ("IB/iser: Simplify send flow/descriptors") > Signed-off-by: Wanhui Fu Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204074620.1573= 327-1-fuwh1120@163.com?part=3D1