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

2017-07-18 Thread Jerin Jacob
-Original Message- > Date: Mon, 17 Jul 2017 17:09:47 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: Harry van Haaren , > jerin.ja...@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 t

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

2017-07-18 Thread Jerin Jacob
-Original Message- > Date: Mon, 17 Jul 2017 17:09:47 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: Harry van Haaren , > jerin.ja...@caviumnetworks.com > Subject: [PATCH] event: fix memory realloc check in port config > X-Mailer: git-send-email 2.7.4 > > This commit fixes the ch

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

2017-07-17 Thread Harry van Haaren
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 API