From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 50F6B7D36 for ; Wed, 23 Aug 2017 12:37:36 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 23 Aug 2017 03:37:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,416,1498546800"; d="scan'208";a="121841225" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.57]) ([10.237.220.57]) by orsmga004.jf.intel.com with ESMTP; 23 Aug 2017 03:37:31 -0700 From: Ferruh Yigit To: Rongqiang XIE , wenzhuo.lu@intel.com Cc: dev@dpdk.org References: <201708230037.v7N0bnek046622@mse01.zte.com.cn> <878e1a4e-1101-12d7-bad4-511f75f7e91b@intel.com> Message-ID: <5e4776be-895d-78cf-76ed-94bb07a19b2c@intel.com> Date: Wed, 23 Aug 2017 11:37:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <878e1a4e-1101-12d7-bad4-511f75f7e91b@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/ixgbe:fix some bugs about rte zmalloc memory may NULL 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: Wed, 23 Aug 2017 10:37:36 -0000 On 8/23/2017 11:36 AM, Ferruh Yigit wrote: > On 8/22/2017 12:49 PM, Rongqiang XIE wrote: >> In the function ixgbe_flow_create(), the value ntuple_filter_ptr, >> ethertype_filter_ptr,syn_filter_ptr,fdir_rule_ptr and l2_tn_filter_ptr >> use rte_zmalloc() malloc memory may return NULL,so, we should >> add judge the return is NULL or success. >> >> Signed-off-by: Rongqiang XIE > > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.