Go to file
Viacheslav Ovsiienko 00ae11c4e8 net/mlx5: fix buffer allocation check in rule cleanup
The Netlink message buffer is allocated and there is the typo,
the other pointer is checked instead of returned one. If no
memory is allocated and NULL is returned by allocation routine
the bug causes segmentation fault. The patch fixes typo,
returned pointer is validated.

Fixes: f420f03d67 ("net/mlx5: add E-switch VXLAN rule cleanup routines")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2018-11-14 00:35:53 +01:00
app app/testpmd: fix Rx offload search 2018-11-14 00:35:53 +01:00
buildtools mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
config vfio: disable in FreeBSD build with meson 2018-10-27 17:57:55 +02:00
devtools devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
doc test: allow taking extra arguments from environment 2018-11-06 03:20:26 +01:00
drivers net/mlx5: fix buffer allocation check in rule cleanup 2018-11-14 00:35:53 +01:00
examples examples/flow_filtering: fix capability setting 2018-11-14 00:35:53 +01:00
kernel kni: fix build on Linux < 3.14 2018-10-27 00:18:06 +02:00
lib vhost: remove unneeded null pointer check 2018-11-14 00:35:53 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test test/hash: improve output for r/w test 2018-11-14 01:03:42 +01:00
usertools usertools: add client script for telemetry 2018-10-27 15:21:38 +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 examples/fips_validation: add crypto FIPS application 2018-11-02 12:26:06 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: add option to override drivers install directory 2018-10-27 23:22:21 +02:00
meson.build version: 18.11-rc2 2018-11-06 03:27:49 +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