Go to file
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
app app/testpmd: fix descriptor number for Rx queue setup 2018-05-23 00:35:01 +02:00
buildtools use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
config mempool/bucket: add to meson build 2018-05-21 12:00:09 +02:00
devtools use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
doc doc: update qede guide and features 2018-05-25 17:07:40 +02:00
drivers net/virtio-user: fix crash in server mode 2018-05-25 17:07:40 +02:00
examples examples/performance-thread: convert license to SPDX 2018-05-25 12:55:11 +02:00
kernel kernel: add missing SPDX license identifiers 2018-05-25 10:30:44 +02:00
lib use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
pkg use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
test cryptodev: rename functions to get session size 2018-05-22 16:36:12 +02:00
usertools usertools: add Cavium TIM as an event device 2018-04-16 11:11:06 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS maintainers: add maintainer for testpmd 2018-05-22 22:53:48 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00
meson.build version: 18.05-rc5 2018-05-23 01:44:00 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org