[dpdk-dev] [PATCH] kni: fix unit test segfault

Thomas Monjalon thomas at monjalon.net
Fri May 5 15:55:11 CEST 2017


03/05/2017 18:10, Ferruh Yigit:
> To clean alloc_q, which has physicall 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: 8eba5ebd1811 ("kni: fix possible memory leak")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

Cc: stable at dpdk.org

Applied, thanks


More information about the dev mailing list