From nobody Thu May 19 08:27:30 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 5A9DF1AE0597 for ; Thu, 19 May 2022 08:27:31 +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 4L3jdt5GT5z4tZd for ; Thu, 19 May 2022 08:27:30 +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 127091A49F for ; Thu, 19 May 2022 08:27:30 +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 24J8RUIJ003645 for ; Thu, 19 May 2022 08:27:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24J8RUTc003644 for net@FreeBSD.org; Thu, 19 May 2022 08:27:30 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: Thu, 19 May 2022 08:27:30 +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=1652948851; 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=Wzt6UwQMxV4hoGllEngimXAylDXnytSg+y82y5gu1YQ=; b=ZEUuu/6APNLJbt7hiLGIA7omaodVOlesvHjDsUbplClkj5kH4C7TtMex3fUg6ozAY+12/y l3yEotli1bZ5W4anTTxzxLOQoGqZWI92Lq3dLm3eo8mfqbeUAGNVrB6ZcZJ6YQDi0/NdJX /B0fqWcZdoO9lmw8ha+NO50UhAt9bKvX9Lpb0Mkj/QaLpjj5Wn528KxwRVG5Zocq8xTUAM Zsy4oh7a98zsUfjCc2W43huFKwSjaYwOPvUy0leDbDWIDFvzlBnvWqL6aSUM6I0xBWt11F ta58BjM0mG1Tff4nmfrT4v7q5YyRWye+j5414ygzNsc5xZ+Ttj6x+6BpjP3B0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652948851; a=rsa-sha256; cv=none; b=PnDkWFfzsZp/MpNWfev7O6ExC36gwqc/1+Y6SoTT4U/YuyIHSLfHhVllocmaRHHWTLOEih fqRDRNZm2XFIDmqcP8MZwP2iuU8NPkfCtJZZVfh40yXdztoju/C5LL8UAY6zDjoSvftJxc FmEcvl5BbYhhgw31aVmG1wbDnTVf94L0KD1T/1r0GZQTPE68nqf80CErFNEOZ7DSx/VZGo x+ZTxJ7kjvVL3CL7Z7go34LMffgR5/UoKPy8xSCfsrCiWrWTmGxJIPyzGw5dkNImKstQSy fXzi412jxgbrJQkpPuOBD9jt1UbI/K6FVJ6wszhJ3OKZx25Zr97rW9hdECTqvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264056 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D527762b2f776381569bd662ce236d2845= 234c0a7 commit 527762b2f776381569bd662ce236d2845234c0a7 Author: Hans Petter Selasky AuthorDate: 2022-05-19 08:10:48 +0000 Commit: Hans Petter Selasky CommitDate: 2022-05-19 08:13:06 +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 MFC after: 1 week Sponsored by: NVIDIA Networking 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.=