From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 564AAC43457 for ; Tue, 20 Oct 2020 10:03:06 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id D7C6722253 for ; Tue, 20 Oct 2020 10:03:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7C6722253 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2B55C884; Tue, 20 Oct 2020 12:03:03 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B8224BCA2; Tue, 20 Oct 2020 12:03:01 +0200 (CEST) IronPort-SDR: B5I1Co6h4vLwdUnlYfJ+fBj2ExP41YI3yqDTv8KKo9JVY6teaXsJJZK/SL+Ih/wDPnov+w2DQQ dwAFIgwnHDcQ== X-IronPort-AV: E=McAfee;i="6000,8403,9779"; a="154127026" X-IronPort-AV: E=Sophos;i="5.77,396,1596524400"; d="scan'208";a="154127026" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2020 03:02:59 -0700 IronPort-SDR: xl0gxCGFifF+wCKIdHH8Khw7Yx1sj324LTAknLSv2OMNEe6xZ8pxKz7lTiQ0VKwLtcy4dQHMhM W2N6ITClcgGw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,396,1596524400"; d="scan'208";a="347806769" Received: from silpixa00400466.ir.intel.com ([10.237.213.98]) by fmsmga004.fm.intel.com with ESMTP; 20 Oct 2020 03:02:57 -0700 From: Conor Walsh To: jia.guo@intel.com, haiyue.wang@intel.com, ferruh.yigit@intel.com, mohammad.abdul.awal@intel.com, declan.doherty@intel.com, stable@dpdk.org Cc: dev@dpdk.org, Conor Walsh Date: Tue, 20 Oct 2020 10:02:46 +0000 Message-Id: <20201020100248.761693-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201019122620.749625-1-conor.walsh@intel.com> References: <20201019122620.749625-1-conor.walsh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] net/ixgbe fix unchecked return value and rte_panic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset resolves a coverity issue where the return value of rte_eth_switch_domain_alloc() was not being checked and also removes a use of rte_panic within ixgbe_pf_host_init(). --- v2: eth_dev->data->mac_addrs and eth_dev->data->hash_mac_addrs will now be free'd if ixgbe_pf_host_init() fails in eth_ixgbe_dev_init() Conor Walsh (2): net/ixgbe: fix unchecked return value net/ixgbe: remove rte_panic drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++++++++-- drivers/net/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/ixgbe/ixgbe_pf.c | 23 ++++++++++++++++++----- 3 files changed, 28 insertions(+), 8 deletions(-) -- 2.25.1