numam-dpdk/lib/librte_eal/linuxapp
Anatoly Burakov 6f0fa9f238 mem: fix potential double close on map failure
We were closing descriptor before checking if mapping has
failed, but if it did, we did a second close afterwards. Fix
it by moving closing descriptor to after we've done all error
checks.

Coverity issue: 272560
Fixes: 2a04139f66 ("eal: add single file segments option")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-04-27 23:42:40 +02:00
..
eal mem: fix potential double close on map failure 2018-04-27 23:42:40 +02:00
Makefile move kernel modules directories 2018-03-21 23:04:21 +01:00