numam-dpdk/lib/librte_mempool
Slawomir Mrozowicz 125e39139b mempool: avoid division by zero
In function call rte_mempool_xmem_size, division by expression total_size
which may be zero has undefined behavior.

Coverity issue: 13243
Fixes: 148f963fb5 ("xen: core library changes")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-05-24 11:09:31 +02:00
..
Makefile mempool: rework support of Xen dom0 2016-05-19 14:40:14 +02:00
rte_mempool_version.map mempool: make mempool populate and free api public 2016-05-19 14:40:14 +02:00
rte_mempool.c mempool: avoid division by zero 2016-05-24 11:09:31 +02:00
rte_mempool.h mempool: add flag for removing phys contiguous constraint 2016-05-19 14:40:14 +02:00