From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by dpdk.org (Postfix) with ESMTP id 20988378B for ; Tue, 20 Jun 2017 13:36:46 +0200 (CEST) Received: by mail-pf0-f196.google.com with SMTP id w12so22249717pfk.0 for ; Tue, 20 Jun 2017 04:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IzYatALIg3nQ4TipvL2TLyshmlvsxCx9S2gEfUuR928=; b=uBQumqaSZlGPCKI6f9hIvx3K5vFyYECig8kU9RKxF+YMevXHL3uXTfjgpOlrCzb0dV ASN0FKm5ymvGM79qoIIeDClslGBXCnoznU0v71Dbwj3zzeMUxX31zhHw1+IUoBv5LH5Z u18u6OPBRoBQg6Vdhmp2W40fYQKwmz31Mirlv0gTkUq6sJMgy+5rzVoWgfQ+DY5oIl8n iLcVz0A938yMOxMxAKbtgsLmW3tmHRvZmxm0AoTUtRUsUhX0O1UxvcTGu3KRsFgJ0ITw ZTe3ND/lxPmecr9LkvNbA20KoT+vH+jeGjnR2MXIbi+dhA+9EWoYNDr/jxspy6KHgzbZ xxxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IzYatALIg3nQ4TipvL2TLyshmlvsxCx9S2gEfUuR928=; b=V8AJVbUdIgyQwf7jd/OBA+Qiq4OVG7Y5kU+tFcS7U/9758m+d3KgUR1jRgnVYNQEb7 yan9Qr3facem+DH65O3PV4pM8dtbuPJB6mapT5HHbMe4sExQgnYf+l4FMKx70kK20PkO pnbHSZvf0/LERPTAekby936VI65QdCThT40cLhWVRVpztNSKGPqFUrajuc25BXYTEk8S qpdaBK+WX8MhJ1BEhYok1+ivk4ojb3dH9OKAftrrHsNwYqh0Of7LuSAejaZfFiuYK31j zUcpmPfWEYCQAGWwQhzBb5/MR0YkRD/McTBgVUoLoEsrK1+3rN+PXD/iGGevFZ+woHHx ac1A== X-Gm-Message-State: AKS2vOzvFJnCCoEighO6ApdlO6NJQG3KXsoM6OBAFu2WfmaF7DgOvqXn ZlIeaep/pvMeevKPvwP+oQ== X-Received: by 10.98.31.10 with SMTP id f10mr30405018pff.164.1497958605393; Tue, 20 Jun 2017 04:36:45 -0700 (PDT) Received: from yliu-home.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 25sm6104783pfj.59.2017.06.20.04.36.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:36:44 -0700 (PDT) From: Yuanhan Liu To: John Miller Cc: dpdk stable Date: Tue, 20 Jun 2017 19:35:20 +0800 Message-Id: <1497958550-13600-8-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> References: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/ark: fix null pointer dereference' has been queued to stable release 17.05.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: Tue, 20 Jun 2017 11:36:46 -0000 Hi, FYI, your patch has been queued to stable release 17.05.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 06/22/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 80f464454790644a74669d61cd70084a70c4f31c Mon Sep 17 00:00:00 2001 From: John Miller Date: Tue, 16 May 2017 12:14:17 -0400 Subject: [PATCH] net/ark: fix null pointer dereference [ upstream commit bc10f22b6d294a8884b37ffeb84c7ed7dca04753 ] Coverity issue: 144520 Fixes: 727b3fe292bc ("net/ark: integrate PMD") Signed-off-by: John Miller --- drivers/net/ark/ark_ethdev.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c index 9143fc4..f8fb359 100644 --- a/drivers/net/ark/ark_ethdev.c +++ b/drivers/net/ark/ark_ethdev.c @@ -516,11 +516,7 @@ eth_ark_dev_uninit(struct rte_eth_dev *dev) dev->dev_ops = NULL; dev->rx_pkt_burst = NULL; dev->tx_pkt_burst = NULL; - if (dev->data->mac_addrs) - rte_free(dev->data->mac_addrs); - if (dev->data) - rte_free(dev->data); - + rte_free(dev->data->mac_addrs); return 0; } -- 2.7.4