From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] event: fix memory realloc check in port config Date: Wed, 19 Jul 2017 09:21:54 +0530 Message-ID: <20170719035153.GC10840@jerin> References: <1500307787-73213-1-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Harry van Haaren Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0086.outbound.protection.outlook.com [104.47.36.86]) by dpdk.org (Postfix) with ESMTP id 8265E47CD for ; Wed, 19 Jul 2017 05:52:16 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1500307787-73213-1-git-send-email-harry.van.haaren@intel.com> 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----- > Date: Mon, 17 Jul 2017 17:09:47 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: Harry van Haaren , > jerin.jacob@caviumnetworks.com > Subject: [PATCH] event: fix memory realloc check in port config > X-Mailer: git-send-email 2.7.4 Need to change the subject to start with "eventdev:" instead of "event:". We could fix it on apply. > > This commit fixes the check to use the just reallocated > links_map variable, instead of stale dev->data->links_map. > Later the new variable is written to the dev->data->links_map, > so the stale-ness is only temporary. > > Coverity issue: 143456 > Fixes: 4f0804bbdfb9 ("eventdev: implement the northbound APIs") > Cc: jerin.jacob@caviumnetworks.com > > Signed-off-by: Harry van Haaren > ---