Message ID | 20190221062851.21958-11-andrew@aj.id.au |
---|---|
State | Accepted |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 444l5m16jDz9s6w for <incoming@patchwork.ozlabs.org>; Thu, 21 Feb 2019 17:33:00 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="XJwtuoCM"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="rCbj3SO2"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 444l5l72Z5zDqCW for <incoming@patchwork.ozlabs.org>; Thu, 21 Feb 2019 17:32:59 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=aj.id.au (client-ip=66.111.4.26; helo=out2-smtp.messagingengine.com; envelope-from=andrew@aj.id.au; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="XJwtuoCM"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="rCbj3SO2"; dkim-atps=neutral Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 444l1s4lhNzDqND for <skiboot@lists.ozlabs.org>; Thu, 21 Feb 2019 17:29:37 +1100 (AEDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6E3672217B; Thu, 21 Feb 2019 01:29:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 21 Feb 2019 01:29:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=JlKeOKTbHtH+N d/dG+sP5rqG/hLbxDeTfEjT2zmOIsc=; b=XJwtuoCMwtE8EF6VCMWdL2h+Z63U1 KLEsORtrEEEB/TDWiTVtMnooIQZXd6dYBNKTApbtcU6PBlEaFSR2+Q4XxmH9xWS+ rCOIaVStMeUwBpu94z0hFOfDFWmaG/TZxhQLo3dZRlUamt50Fw+QjIuB3JqBlbHV 2KUZA5yNCv6loW7fCuGa4ajxq8G1Xj1j7FXjGELN5IOq0lGEMAtWV+7iY8bwNg1K pJUV6RZc6XECbn1o28DMA7CRS8WpcqXZAwm9XK8X1iEP5UgsHPgFfNlZWOIDsHbB pJCCv1ILnPj/uNhtqkD9Zuz9j0Um6k3sQsAn3WnsxJ5uFBO3VUpiU8KUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=JlKeOKTbHtH+Nd/dG+sP5rqG/hLbxDeTfEjT2zmOIsc=; b=rCbj3SO2 4zj8WLat5c5pCPxlxsICytCDHAKmQVXo8UBIbLg1D5jgTfys9VmPUAKSDCTd2HGV vP/qAYbacNQMef1bvn7Qd5TLAP+9XDvjymsr1miep+MPHGz4mGmQxznwWM8H2zaL CITKlSi8oHlxcQhgTvfrBlb4KLRpbrrFr0HOpeG7SWACMO8QwuI8JzW75jjA2tij vnG4ldXWw05H0dOQ++EqBNrPp/X5AO0d7s1zqCNwJZx87eU6NaY/UJnwWOUruQUs sCqvG+vtthlTgCUEcnk+DOHItYCtvSPBtS6zinNlZ3KDnZV7DsbE31jck/Vi9hq7 K0i1X0C5tgjLSQ== X-ME-Sender: <xms:TkVuXBbwbORZmQv0lBVw2YxJl4d8bunzDyLdAhhtGONRNEjadUvOng> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtdejgdeljeculddtuddrgedtledrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegr jhdrihgurdgruheqnecukfhppedvtddvrdekuddrudekrddvkeenucfrrghrrghmpehmrg hilhhfrhhomheprghnughrvgifsegrjhdrihgurdgruhenucevlhhushhtvghrufhiiigv peei X-ME-Proxy: <xmx:TkVuXKqpood2QnZIj8UJhLTwI9WR6M8h520bW1-2ESRyfTk40KIfBA> <xmx:TkVuXEAYqNecAFw_HN92yuLDcD9Ur_iB_K8DGLY55E7BQZxx443KHA> <xmx:TkVuXInZDOAoZBmKsDZKCgITkVOFzIMBWkA0aY1SKv5n3q73frcVjA> <xmx:TkVuXF8PONBixWRi-4Avjc7BAqx0dcBlfGKqsr9mDJdOpbwQiwHt4w> Received: from mistburn.bha-au.ibmmobiledemo.com (unknown [202.81.18.28]) by mail.messagingengine.com (Postfix) with ESMTPA id 80C8DE419A; Thu, 21 Feb 2019 01:29:32 -0500 (EST) From: Andrew Jeffery <andrew@aj.id.au> To: skiboot@lists.ozlabs.org Date: Thu, 21 Feb 2019 16:58:09 +1030 Message-Id: <20190221062851.21958-11-andrew@aj.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190221062851.21958-1-andrew@aj.id.au> References: <20190221062851.21958-1-andrew@aj.id.au> MIME-Version: 1.0 Subject: [Skiboot] [PATCH v2 10/52] libflash/ipmi-hiomap: Fix leak of msg in callback X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Cc: Andrew Jeffery <andrew@aj.id.au> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
ipmi-hiomap: Tests and fixes for event handling
|
expand
|
On 02/21/2019 11:58 AM, Andrew Jeffery wrote: > Cc: stable > Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> -Vasant
diff --git a/libflash/ipmi-hiomap.c b/libflash/ipmi-hiomap.c index ac47a1005ef8..4ab49d6d0d91 100644 --- a/libflash/ipmi-hiomap.c +++ b/libflash/ipmi-hiomap.c @@ -80,6 +80,7 @@ static void ipmi_hiomap_cmd_cb(struct ipmi_msg *msg) res->cc = msg->cc; if (msg->cc != IPMI_CC_NO_ERROR) { + ipmi_free_msg(msg); return; }
Cc: stable Signed-off-by: Andrew Jeffery <andrew@aj.id.au> --- libflash/ipmi-hiomap.c | 1 + 1 file changed, 1 insertion(+)