From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 259B32583 for ; Sun, 22 Apr 2018 17:10:53 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AC56A20FF8; Sun, 22 Apr 2018 11:10:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 22 Apr 2018 11:10:52 -0400 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=fm2; bh=HJRJ6q/ymcGrayKMS cES9AwxqvC0EInNDUj5ryszBOI=; b=hHJr6R/LmoB8lhwdZny2GSaCTAvLf+HdU R3IGiFmqd/7aXq6/hMTnZ9OX68tlelIOdLB7We7aWiv6i8VTPM+vPYaVdSYWj0We QZ/T/Sn/VfqovUbQpshFQDghYSpMZsS2a1AD9Wr0J7leQ7spDTCCDv2e2dSeaGoP CzIFHvnFUFyonAQVcGXkZUZcVxKhT+MnFnaGElaS2kEE1Uu3H9QsZ8zkpnQFF8aZ O5t33xd1tm0UaAMI1Iglaypf0UYRNa/AEk0oyWERQoPUiCnKSxazCo2FiO/MvaVc qzXEeMuikbE9XjAnuevtIUNEc/iIouATNPgmP2OUtiZ8xyNfowFpw== 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= fm2; bh=HJRJ6q/ymcGrayKMScES9AwxqvC0EInNDUj5ryszBOI=; b=Ad54Vv0b FwZMBTsk6a0IK6iDdzQESbSOmv0dt7UnsAnORlBcVUyAlHRVZaWIxMIBNEbVEhga JjNXHk7nxT8UQjxr9Mnrv4uwkybnPxH//VAJ95J3sl41UHzRNVbxjqA5GP5fakrt hmHMUexr0GXGqNFe0vg100q+ac9xljaP6eQi46/awFZTkuqp5Bz32gJ+F5iRIBHx 8Ov2F0eG30vMwr0zSO7ARrilbhv5cwgJ8EiQRBiqq54yZRXODGoiy4qfSiPCrNOm 2X7obaNJgYJWXcD6WwjREAVQmKqPJZQTL7tpTzi/5Uk72z4rUW7mNHhFmAOPgjCk ZEFfbi8980BhKw== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 3D66C10253; Sun, 22 Apr 2018 11:10:50 -0400 (EDT) From: Yuanhan Liu To: Santosh Shukla Cc: dpdk stable Date: Sun, 22 Apr 2018 23:09:06 +0800 Message-Id: <20180422150949.17523-16-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180422150949.17523-1-yliu@fridaylinux.org> References: <20180422150949.17523-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/octeontx: fix null pointer dereference' has been queued to LTS release 17.11.2 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: Sun, 22 Apr 2018 15:10:53 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/29/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 2ea90622af0f937f06a5298afa66b3bca46fda47 Mon Sep 17 00:00:00 2001 From: Santosh Shukla Date: Tue, 20 Feb 2018 22:44:15 +0530 Subject: [PATCH] net/octeontx: fix null pointer dereference [ upstream commit a98122ef6601015374bb2d598012331ddfd2b81d ] Coverity issue: 195040 Fixes: f18b146c498d ("net/octeontx: create ethdev ports") Signed-off-by: Santosh Shukla --- drivers/net/octeontx/octeontx_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c index eca3a39fd..890c7ea19 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -1142,7 +1142,7 @@ octeontx_create(struct rte_vdev_device *dev, int port, uint8_t evdev, return data->port_id; err: - if (port) + if (nic) octeontx_port_close(nic); if (eth_dev != NULL) { -- 2.11.0