From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id B30881B1BE for ; Wed, 24 Jan 2018 16:42:54 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 608D3226BD; Wed, 24 Jan 2018 10:42:54 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Sxo6cQVkBhYDpElZ1 o6NV2FNNQf0E8e3EpMo5F6gxqA=; b=IM+om2tgCxFvaU7boPkPPVOmgI5rn8qwz QajbO1ZbjxOJFieVPewrAHATDa0UF2d7Jk1dDnVTI8Q+Ykzua3uP5w+fRhsLD0EK /XUmx2jPGJmT5EP8yDka6SiErAKwpd0BMr56bh0Y3mMPKkkkJFDaJYI/r2POFXtf BmdNWcqOqmTRVOmEtKpkEq6jwzXXEj+/CeU+3yH34cvD38+65Ha6mkozgFbeRSvN FpcyqZe+RNzViog1w3C1CuJt+5FEa8TJ4ZrYwsWA7n3c5MCWszhcr083p7Sz5xJC HlEjo9yv51IXXuS7n75/BibDabOxdpqMS14fScAsD3tNK7Oe7Z8Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=Sxo6cQVkBhYDpElZ1o6NV2FNNQf0E8e3EpMo5F6gxqA=; b=Nnzatv+e TDKpq6fAZe1se0wFVzQdyP8v8v2Xe91bBtS2QCgGv78+YT0J41WSNQba7w7mudG9 XkehO4K2Q1hl3ONTJdq7qEVBbwV/Fm3Ea7SRU2qYUC9vbZ8sJydQG0T6CQu25J79 /JdKQyjxIiUMCNahQnH0DnSwtcRG/hJy6N7YEi5jhPUr/vgTMOZZhfXgUlhRSBit AqmgxoR0nAQc6ziMhLj6pCbUB6xBGL/6r8pT41VrPp225kbLALRi3k3Ddo66yBIX 91ZoGHy3NYFOexYcfuG4o8WY70IEPhRRpQhITKfuCzPdDUBPjIdYvAt2jWLZoXSR Y4O/Ml3RiY93CA== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C4B97E1A2; Wed, 24 Jan 2018 10:42:51 -0500 (EST) From: Yuanhan Liu To: Adrien Mazarguil Cc: Gaetan Rivet , dpdk stable Date: Wed, 24 Jan 2018 23:33:44 +0800 Message-Id: <1516808026-25523-156-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/failsafe: fix invalid free' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:42:54 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From ef65a9891413b86b63c3734e083c7554c270e87b Mon Sep 17 00:00:00 2001 From: Adrien Mazarguil Date: Thu, 18 Jan 2018 13:51:39 +0000 Subject: [PATCH] net/failsafe: fix invalid free [ upstream commit 9720e325f040dc536ef76606d2437d1653698a17 ] rte_free() is not supposed to work with pointers returned by calloc(). Fixes: a0194d828100 ("net/failsafe: add flexible device definition") Signed-off-by: Adrien Mazarguil Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe_args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_args.c b/drivers/net/failsafe/failsafe_args.c index cfc83e3..ec63ac9 100644 --- a/drivers/net/failsafe/failsafe_args.c +++ b/drivers/net/failsafe/failsafe_args.c @@ -407,7 +407,7 @@ failsafe_args_free(struct rte_eth_dev *dev) uint8_t i; FOREACH_SUBDEV(sdev, i, dev) { - rte_free(sdev->cmdline); + free(sdev->cmdline); sdev->cmdline = NULL; free(sdev->devargs.args); sdev->devargs.args = NULL; -- 2.7.4