From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 5BF9B1DB9 for ; Mon, 30 Apr 2018 16:07:36 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id g21-v6so8170471wrb.8 for ; Mon, 30 Apr 2018 07:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3MAj+W3Ky7Tf33ACTo5PVYsvMi04Ic2sfXO+Ap/OQcY=; b=h3n3c1c211VhZOQEiw9iULEAcOuGSjBTW6ATaMwEygYLD9TJ6c46oiWYeSVSsDrFgU Kz0IeqBN+O0GlrWdE03yQslcVqxCdifK6H2nHiCPCyvvx47Tg4C4i2n7LNRQ28Fal6dS EIkIEB67rrof2vNugjDkf+gxPrZA+j9hQBy/66d/P2sNyuG8CdxyPyZ1uKBn+m4ICbqF bOJO87qINYh9uJtEI2aDUs9UKaDjqW+DRFlhkJRnpBJ9kqVN+5uvLeibqURNlvlq6GFX W69ndD5SGsr1xEGhCakRyMguNDdrAtj5d8ik3RU6hBbzonziqrjrEXRWxI0sEQ8q1+OR EhDA== 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=3MAj+W3Ky7Tf33ACTo5PVYsvMi04Ic2sfXO+Ap/OQcY=; b=IcuDyzVcYkhGesv4IJY+G0wR0CzJHUXtYEHMaeYi5jkgz17kwUk1TmcHkBL6so8k1l wmnRTZDed4R/2rgJQfI1opWMJmWFr6b0FdU1h6X79ZdnJ1DmOg0/GQRgfoqhkTZJQWyo OLZh9dragS5B1aLN0HpQ8VbCOzs1T6L8Q+cSbx1W3Vp9SthLvucLH6DKdjsu/ypRnmiC QyjRnmKWUMljob4QqSvArYf7jfx7P4t5QrGCe1sveWCdrEWUhhYSoMSx2d4lUYtB6Sy8 eNkrXM31Z5Du1Bl2Drj/HFN1FtRO/mATErqRHha/N9t5SFzBMe5iHsfTR0N4wqhvnkP8 LdfQ== X-Gm-Message-State: ALQs6tDtRAz0WXqnBH8dOTl7Ac2KkJb061N2bzPqmiiQzilT+/+rlvEV qDTouVz/JkJ648pJjN7/FAAygJlpWwU= X-Google-Smtp-Source: AB8JxZrOG+UKHw8H8qpk1NsaoBO221JkQnV1vIf+FlfwfdyoHzqNnEBvxs6KSwzNhl7E+Rc4GyIMyA== X-Received: by 2002:adf:c6c1:: with SMTP id c1-v6mr8842976wrh.236.1525097256075; Mon, 30 Apr 2018 07:07:36 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id k30-v6sm12111047wrf.17.2018.04.30.07.07.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:07:35 -0700 (PDT) From: luca.boccassi@gmail.com To: Santosh Shukla Cc: dpdk stable Date: Mon, 30 Apr 2018 15:03:23 +0100 Message-Id: <20180430140606.4615-45-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/octeontx: fix null pointer dereference' has been queued to stable release 18.02.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: Mon, 30 Apr 2018 14:07:36 -0000 Hi, FYI, your patch has been queued to stable release 18.02.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 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From ec67b841b637ed8c5750e23943d90cb63386d832 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 b739c0b39..0d8937cc2 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -1149,7 +1149,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.14.2