From nobody Tue Jun 7 06:45:49 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C746D1BD6E1B for ; Tue, 7 Jun 2022 06:45:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LHLTn5vSyz3nFT for ; Tue, 7 Jun 2022 06:45:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6D79515C71 for ; Tue, 7 Jun 2022 06:45:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2576jnXb039573 for ; Tue, 7 Jun 2022 06:45:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2576jnXo039572 for net@FreeBSD.org; Tue, 7 Jun 2022 06:45:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 264056] mlx4(4) Fix resource leak in mlx4_opreq_action() Date: Tue, 07 Jun 2022 06:45:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654584350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/aWXhPXnJOUlwiWoVpP9+HYq3bR10tsbfhzpVUtyft4=; b=miY4sUd7sYU3QL4CRIVxdy1yOO/6jQOE1nG3XbDQHX9Dv3xp9yN8Q9RaYGfypzD+ABzu+W A3Mvjin8+xBGd448IAETNrcergmjmzhAtDfio3xe9imPV56LTxWPOf4mxO+uwGfL2dxB4X M/pRFzCe0HvFYT/J0JLtk0c6mjb6Q8V743mVVE9/o8QKNZKH00W7E2BUaz7y98S/QOJXM3 Ax8rcjY4x2vW1nbCn6N7yYp4LMT9wJrZ+BFzNH2MGaV3to540bWYss4DNdfildDlDVinxd mjG+wVTL5dpInQzm9UcqjAW6E3OAyirXjXP72kp9G1n+tjXTqJyx9uIKIk9odA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654584350; a=rsa-sha256; cv=none; b=GeMnQ+tRdYsSM+hn9AfPWkO53lgyigR1n5aYByRiox+MPgDhLFMMamwyGTInslL+3Xkp3Y x+2CskLjgEP+H87HwblrNbrgCg12WZcDoA7FyV3GbdQQRk8JY5YDL1VxM7M7pVyqHr9j58 5cgT8GhMBW5WjP4uNNYqA/IJs1J1SNtwfHo8ufOju5o8q7L3Tr0N8S8S6ZX7US7Pdq9eoE zujJpa73WGM4rvXU9EwxW3xiWxh/bhdDzqnJXzXAz7lk8fqmC74S7Fej373pH23vXeE+Od GTWR5toNAz1GWRJsdZRCfcfINZUcFg1IxCH9eghit9e8cPi73XFz4GV5WgcQvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264056 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D267e6442d049939cd9c8ab5e3b0134dea= ce39e66 commit 267e6442d049939cd9c8ab5e3b0134deace39e66 Author: Hans Petter Selasky AuthorDate: 2022-05-19 08:10:48 +0000 Commit: Hans Petter Selasky CommitDate: 2022-06-07 06:44:28 +0000 mlx4: Fix a memory leak bug. In function mlx4_opreq_action(), pointer "mailbox" is not released, when mlx4_cmd_box() return and error, causing a memory leak bug. Fix this issue by going to "out" label, mlx4_free_cmd_mailbox() can free this pointer. Linux commit: febfd9d3c7f74063e8e630b15413ca91b567f963 PR: 264056 Sponsored by: NVIDIA Networking (cherry picked from commit 527762b2f776381569bd662ce236d2845234c0a7) sys/dev/mlx4/mlx4_core/mlx4_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=