From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 54BD81B645 for ; Fri, 26 Jan 2018 10:30:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2018 01:30:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,415,1511856000"; d="scan'208";a="29647219" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 26 Jan 2018 01:30:16 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 01:30:16 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 01:30:16 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.145]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Fri, 26 Jan 2018 17:30:14 +0800 From: "Zhang, Helin" To: "Lu, Wenzhuo" , Yong Wang CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4] net/e1000: add null point check for rte_zmalloc Thread-Index: AQHTlbN34W44j6SXdUC3gc3P5TugoKOF1xjwgAAN8dA= Date: Fri, 26 Jan 2018 09:30:14 +0000 Message-ID: References: <1516866184-7589-1-git-send-email-wang.yong19@zte.com.cn> <6A0DE07E22DDAD4C9103DF62FEBC09093B721D3A@shsmsx102.ccr.corp.intel.com> In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC09093B721D3A@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] [PATCH v4] net/e1000: add null point check for rte_zmalloc 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: , X-List-Received-Date: Fri, 26 Jan 2018 09:30:18 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Lu, Wenzhuo > Sent: Friday, January 26, 2018 4:41 PM > To: Yong Wang > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] net/e1000: add null point check for > rte_zmalloc >=20 > Hi, >=20 >=20 > > -----Original Message----- > > From: Yong Wang [mailto:wang.yong19@zte.com.cn] > > Sent: Thursday, January 25, 2018 3:43 PM > > To: Lu, Wenzhuo > > Cc: dev@dpdk.org; Yong Wang > > Subject: [PATCH v4] net/e1000: add null point check for rte_zmalloc > > > > There are several func calls to rte_zmalloc() which don't do null > > point check on the return value. Fix it by adding null point check. > > > > Fixes: 22bb13410cb2 ("net/igb: create consistent filter") > > > > Signed-off-by: Yong Wang > Acked-by: Wenzhuo Lu Applied to dpdk-next-net-intel, with commit log changes. Thanks! /Helin