On 11/26/2019 10:50 AM, Ferruh Yigit wrote: > 'close()' calls 'stop()' and 'stop()' cancels pthread without any check. > Calling 'stop()' & 'close()' sequentially tries to cancel pthread twice > which will cause a crash. > > Adding a state check in 'stop()' before canceling the pthread to prevent > multiple stop. > > Fixes: 696fbc7bb4fc ("net/kni: remove resources when port is closed") > > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>
Applied to dpdk-next-net/master, thanks. (Applied quickly to make the fix for rc4)