numam-dpdk/lib/librte_eventdev
Harry van Haaren f9a96a50d8 eventdev: fix memory realloc check in port config
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: 4f0804bbdf ("eventdev: implement the northbound APIs")

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2017-07-20 07:19:47 +03:00
..
Makefile update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_event_ring.c eventdev: add ring structure for events 2017-07-07 09:29:39 +02:00
rte_event_ring.h eventdev: add ring structure for events 2017-07-07 09:29:39 +02:00
rte_eventdev_pmd_pci.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_eventdev_pmd_vdev.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_eventdev_pmd.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_eventdev_version.map eventdev: add ring structure for events 2017-07-07 09:29:39 +02:00
rte_eventdev.c eventdev: fix memory realloc check in port config 2017-07-20 07:19:47 +03:00
rte_eventdev.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00