numam-dpdk/lib/librte_eal
Anatoly Burakov 8ee25c7e81 mem: fix comparison of old policy
Previous code had an old rebase leftover from the time when
oldpolicy was an actual int, instead of a pointer. Fix it to
do comparison with dereferencing the pointer.

Coverity issue: 272589
Fixes: 582bed1e1d ("mem: support mapping hugepages at runtime")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2018-04-27 23:42:40 +02:00
..
bsdapp vfio: add multi container support 2018-04-27 15:54:55 +01:00
common mem: use strlcpy instead of snprintf 2018-04-27 23:42:40 +02:00
linuxapp mem: fix comparison of old policy 2018-04-27 23:42:40 +02:00
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build eal: provide API for querying valid socket ids 2018-04-05 00:27:13 +02:00
rte_eal_version.map vfio: add multi container support 2018-04-27 15:54:55 +01:00