From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3F029A00E6 for ; Mon, 5 Aug 2019 16:27:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 87BAB1BDF3; Mon, 5 Aug 2019 16:27:04 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 334931BDE9; Mon, 5 Aug 2019 16:27:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Aug 2019 07:26:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,350,1559545200"; d="scan'208";a="373096563" Received: from npg-dpdk-zhangxiao.sh.intel.com ([10.67.110.190]) by fmsmga005.fm.intel.com with ESMTP; 05 Aug 2019 07:26:18 -0700 From: Xiao Zhang To: dev@dpdk.org Cc: qiming.yang@intel.com, beilei.xing@intel.com, xiaolong.ye@intel.com, Xiao Zhang , stable@dpdk.org Date: Tue, 6 Aug 2019 07:20:49 +0800 Message-Id: <1565047254-66826-1-git-send-email-xiao.zhang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564952430-6585-1-git-send-email-xiao.zhang@intel.com> References: <1564952430-6585-1-git-send-email-xiao.zhang@intel.com> Subject: [dpdk-dev] [v2 0/5] fix dereference after null check coverity 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 patch tries to fix (dereference after null check) coverity issue. The address of first segmented packets for ice, iavf, i40e fm10k and ixgbe was not set correctly during reassembling packets which led to this issue. Coverity issue: 343452 Coverity issue: 343407 Fixes: c68a52b8 ("net/ice: support vector SSE in Rx") Coverity issue: 343447 Fixes: 319c421f ("net/avf: enable SSE Rx Tx") Coverity issue: 343422 Coverity issue: 343403 Fixes: ca74903b ("net/i40e: extract non-x86 specific code from vector driver") Coverity issue: 343416 Fixes: fe65e1e1 ("fm10k: add vector scatter Rx") Coverity issue: 13245 Fixes: 8a44c15a ("net/ixgbe: extract non-x86 specific code from vector driver") Cc: stable@dpdk.org v2 Add cover letter and move the fix after invalidation check Xiao Zhang (5): net/ixgbe: fix dereference after null check coverity net/ice: fix dereference after null check coverity net/i40e: fix dereference after null check coverity net/iavf: fix dereference after null check coverity net/fm10k: fix dereference after null check coverity drivers/net/fm10k/fm10k_rxtx_vec.c | 1 + drivers/net/i40e/i40e_rxtx_vec_avx2.c | 1 + drivers/net/i40e/i40e_rxtx_vec_sse.c | 1 + drivers/net/iavf/iavf_rxtx_vec_sse.c | 1 + drivers/net/ice/ice_rxtx_vec_avx2.c | 1 + drivers/net/ice/ice_rxtx_vec_sse.c | 1 + drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 1 + 7 files changed, 7 insertions(+) -- 2.7.4