[dpdk-dev] [PATCH] event: fix memory realloc check in port config

Jerin Jacob jerin.jacob at caviumnetworks.com
Wed Jul 19 05:51:54 CEST 2017


-----Original Message-----
> Date: Mon, 17 Jul 2017 17:09:47 +0100
> From: Harry van Haaren <harry.van.haaren at intel.com>
> To: dev at dpdk.org
> CC: Harry van Haaren <harry.van.haaren at intel.com>,
>  jerin.jacob at 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 at caviumnetworks.com
> 
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> ---


More information about the dev mailing list