Go to file
Ferruh Yigit 2e06c56565 examples/kni: fix crash while handling userspace request
When KNI interface receives RTE_KNI_REQ_CFG_NETWORK_IF request, it
stap/start the physical device which as a result of stop() can free all
the mbufs in its queue.
Meanwhile sample application continues to read from KNI interface queues
and push into device queues. This simultaneous access may cause a crash,
crash log can be found at defect description.

As a solution KNI sample application can do the proper synchronization,
and stop transfer between KNI interface and physical interface while
physical device stop/started.

Bugzilla ID: 116
Fixes: 3fc5ca2f63 ("kni: initial import")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Phil Yang <phil.yang@arm.com>
2019-01-17 23:44:21 +01:00
app app/pdump: fix vdev cleanup 2019-01-17 21:27:37 +01:00
buildtools config: add static linkage of mlx dependency 2019-01-14 17:44:29 +01:00
config build: fix meson check for binutils 2.30 2019-01-17 19:19:57 +01:00
devtools devtools: fix build check for whether meson has run 2019-01-14 12:24:57 +01:00
doc doc: add GRO limitations in programmers guide 2019-01-17 22:44:06 +01:00
drivers net/mlx5: fix instruction hotspot on replenishing Rx buffer 2019-01-15 02:40:40 +01:00
examples examples/kni: fix crash while handling userspace request 2019-01-17 23:44:21 +01:00
kernel kni: fix build on RHEL8 for arm and Power9 2019-01-14 14:33:04 +01:00
lib gro: check invalid TCP header length 2019-01-17 22:38:54 +01:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk config: add static linkage of mlx dependency 2019-01-14 17:44:29 +01:00
test eal: fix core number validation 2019-01-17 17:22:04 +01:00
usertools usertools: skip empty categories in devices status 2018-11-23 01:43:20 +01:00
.gitattributes
.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 config: add static linkage of mlx dependency 2019-01-14 17:44:29 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt config: gather options for dlopen mlx dependency 2019-01-14 17:44:29 +01:00
meson.build version: 19.02-rc2 2019-01-15 03:08:43 +01: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