From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 12342A04DD;
	Tue, 20 Oct 2020 12:03:05 +0200 (CEST)
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 <conor.walsh@intel.com>
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 <conor.walsh@intel.com>
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

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