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 B550FA0527 for ; Wed, 22 Jul 2020 05:20:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C9481BFEC; Wed, 22 Jul 2020 05:20:42 +0200 (CEST) Received: from huawei.com (szxga02-in.huawei.com [45.249.212.188]) by dpdk.org (Postfix) with ESMTP id 0A9891BFCA; Wed, 22 Jul 2020 05:20:38 +0200 (CEST) Received: from DGGEMM406-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id 18E301A63BC05244BD0E; Wed, 22 Jul 2020 11:20:37 +0800 (CST) Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.165]) by DGGEMM406-HUB.china.huawei.com ([10.3.20.214]) with mapi id 14.03.0487.000; Wed, 22 Jul 2020 11:20:26 +0800 From: wangyunjian To: "Wang, Yipeng1" , Honnappa Nagarahalli , "dev@dpdk.org" CC: "Gobriel, Sameh" , "Richardson, Bruce" , "Lilijun (Jerry)" , xudingke , "stable@dpdk.org" , nd Thread-Topic: [dpdk-dev] [PATCH] hash: fix return value of null not checked Thread-Index: AQHWX4QtdZ8j12ENZUyzTOfMOZVrA6kR9KSAgADxfTA= Date: Wed, 22 Jul 2020 03:20:26 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D0DD1B7@DGGEMM533-MBX.china.huawei.com> References: In-Reply-To: Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.185.168] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] hash: fix return value of null not checked X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: Wang, Yipeng1 [mailto:yipeng1.wang@intel.com] > Sent: Wednesday, July 22, 2020 4:24 AM > To: Honnappa Nagarahalli ; wangyunjian > ; dev@dpdk.org > Cc: Gobriel, Sameh ; Richardson, Bruce > ; Lilijun (Jerry) ; > xudingke ; stable@dpdk.org; nd > Subject: RE: [dpdk-dev] [PATCH] hash: fix return value of null not checke= d >=20 > > -----Original Message----- > > From: Honnappa Nagarahalli > > Sent: Tuesday, July 21, 2020 10:27 AM > > To: wangyunjian ; dev@dpdk.org > > Cc: Wang, Yipeng1 ; Gobriel, Sameh > > ; Richardson, Bruce > > ; jerry.lilijun@huawei.com; > > xudingke@huawei.com; stable@dpdk.org; nd ; Honnappa > > Nagarahalli ; nd > > Subject: RE: [dpdk-dev] [PATCH] hash: fix return value of null not > > checked > > > > > > > > > -----Original Message----- > > > From: dev On Behalf Of wangyunjian > > > Sent: Tuesday, July 21, 2020 8:32 AM > > > To: dev@dpdk.org > > > Cc: yipeng1.wang@intel.com; sameh.gobriel@intel.com; > > > bruce.richardson@intel.com; jerry.lilijun@huawei.com; > > > xudingke@huawei.com; Yunjian Wang ; > > > stable@dpdk.org > > > Subject: [dpdk-dev] [PATCH] hash: fix return value of null not > > > checked > > > > > > From: Yunjian Wang > > > > > > The function rte_zmalloc_socket() could return NULL, the return > > > value need to be checked. > > > > > > Fixes: 5915699153d7 ("hash: fix scaling by reducing contention") > > > Cc: stable@dpdk.org > > > > > > Reported-by: HuangBin > [Wang, Yipeng] missed a space in name? Thanks, I will send v2 with correction. Yunjian >=20 > > > Signed-off-by: Yunjian Wang > > Good catch > > Reviewed-by: Honnappa Nagarahalli > [Wang, Yipeng] > Thanks for the fix! >=20 > Acked-by: Yipeng Wang