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 85CADA00E6 for ; Tue, 6 Aug 2019 13:31:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8D991BE5E; Tue, 6 Aug 2019 13:31:02 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D88241BE56; Tue, 6 Aug 2019 13:31:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 04:30:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="202783944" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 06 Aug 2019 04:30:59 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 04:30:59 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 04:30:59 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.15]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.249]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 19:30:57 +0800 From: "Zhang, Qi Z" To: "Ye, Xiaolong" , "Zhang, Xiao" CC: "dev@dpdk.org" , "Yang, Qiming" , "Xing, Beilei" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [v2 0/5] fix dereference after null check coverity Thread-Index: AQHVS5oYEmkRjuuZVkiPNq4AEOEW1qbsLJGAgAHQq7A= Date: Tue, 6 Aug 2019 11:30:56 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153D79AA2@SHSMSX105.ccr.corp.intel.com> References: <1564952430-6585-1-git-send-email-xiao.zhang@intel.com> <1565047254-66826-1-git-send-email-xiao.zhang@intel.com> <20190805154627.GA66560@intel.com> In-Reply-To: <20190805154627.GA66560@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2Y1MGFkY2QtZmVhYy00OWQwLWE0MjktY2E1MDBmYmJiNDRmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC92RURqVGpxdG5FQWJVR0dxUkpubzhDZkE3T3RORGxpMmRiR1R3MEE0ZlFaZGF0bUZcL0pMU2FHeGJkXC9uWkhJWSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ye Xiaolong > Sent: Monday, August 5, 2019 11:46 PM > To: Zhang, Xiao > Cc: dev@dpdk.org; Yang, Qiming ; Xing, Beilei > ; stable@dpdk.org > Subject: Re: [dpdk-dev] [v2 0/5] fix dereference after null check coverit= y >=20 > On 08/06, Xiao Zhang wrote: > >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 thi= s > 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") Fix tag size should be 12 > >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 > > >=20 > For the series: > Acked-by: Xiaolong Ye Applied to dpdk-next-net-intel with fix tag fix Thanks Qi