numam-dpdk/lib/librte_ivshmem
Mauricio Vasquez B 1e7d0509fe ivshmem: fix race condition
The memory zone could be freed just after adding it to the metadata
file and just before marking it as not freeable.
This patch changes the locking logic in order to prevent it.

Fixes: cd10c42eb5bc ("mem: fix ivshmem freeing")

Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2016-04-01 15:36:32 +02:00
..
2015-02-03 16:56:58 +01:00
2016-04-01 15:36:32 +02:00
2014-06-11 00:29:34 +02:00