numam-dpdk/drivers/net/kni
Ferruh Yigit 2ad5482b51 net/kni: fix crash caused by double stop
'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: 696fbc7bb4 ("net/kni: remove resources when port is closed")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
2019-11-26 18:22:27 +01:00
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build
rte_eth_kni.c net/kni: fix crash caused by double stop 2019-11-26 18:22:27 +01:00
rte_pmd_kni_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00