numam-dpdk/lib/librte_kni
Ferruh Yigit 57a484e08a kni: fix crash caused by freeing mempool
To clean alloc_q, which has physical addresses of the mbufs, kni lib
free the pkt_mempool, but this leads a crash in kni unit test.

KNI library shouldn't free the pkt_mempool.

Implementation updated to find the mbufs in the alloc_q and return them
back to mempool.

Fixes: 8eba5ebd18 ("kni: fix possible memory leak")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-05-05 15:49:20 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_kni_fifo.h kni: fix possible memory leak 2017-04-21 01:22:59 +02:00
rte_kni_version.map kni: remove deprecated functions 2015-09-03 19:22:48 +02:00
rte_kni.c kni: fix crash caused by freeing mempool 2017-05-05 15:49:20 +02:00
rte_kni.h doc: fix typos 2016-11-07 21:50:27 +01:00