numam-dpdk/drivers
Zhiyong Yang f42deafa44 net/virtio-user: fix crash in server mode
For virtio-user server mode, one use case comes across segmentation fault.
step 1: Launch vhost side as client firstly.
step 2: launch virtio-user side as server.

The cause is: after registering virtio_interrupt_handler into
eal-intr-thread, two threads (main thread and eal-intr-thread) have
sync issues, so add rxvq pointer checking in function virtio_notify_peers
to decide if the code can continue.

Fixes: bd8f50a45d ("net/virtio-user: support server mode")
Cc: stable@dpdk.org

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-05-25 17:07:40 +02:00
..
baseband bbdev: change names of baseband devices 2018-05-10 17:46:20 +01:00
bus use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
common common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
compress compress/isal: add ISA-L decomp functionality 2018-05-10 17:46:20 +01:00
crypto cryptodev: rename functions to get session size 2018-05-22 16:36:12 +02:00
event eventdev: add driver interface of crypto adapter 2018-05-10 14:07:37 +02:00
mempool mempool/bucket: add to meson build 2018-05-21 12:00:09 +02:00
net net/virtio-user: fix crash in server mode 2018-05-25 17:07:40 +02:00
raw raw/ifpga/base: fix an error return 2018-05-21 16:13:06 +02:00
Makefile compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00
meson.build compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00