Go to file
Suanming Mou 4a73c86ff6 net/mlx5: fix crash on GRE flow rule parsing
When set the GRE item, GRE key should follow after GRE header, or the
header gre_item pointer used by the key will be invalid.

Currently in the mlx5_flow_validate_item_gre_key() function, the header
gre_item pointer is access before checking if the key is after the
header or not. Once the key item is before the header, invalid gre_item
pointer access happens.

Move the gre_item pointer access after the GRE header check to avoid the
crash issue.

Fixes: a7a0365565 ("net/mlx5: match GRE key and present bits")
Cc: stable@dpdk.org

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2019-11-26 18:22:27 +01:00
.ci ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
app app/testpmd: use better randomness for Tx split 2019-11-26 18:05:15 +01:00
buildtools buildtools: fix build with coverage 2019-11-26 09:04:36 +01:00
config remove blank lines at end of file 2019-11-26 00:12:08 +01:00
devtools app/testpmd: reduce memory consumption 2019-11-26 18:05:15 +01:00
doc net/mlx5: fix flow engine choice 2019-11-26 18:05:15 +01:00
drivers net/mlx5: fix crash on GRE flow rule parsing 2019-11-26 18:22:27 +01:00
examples examples/ioat: fix possible null dereference 2019-11-26 17:26:08 +01:00
kernel kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
lib ethdev: fix item expansion for RSS flow 2019-11-26 18:05:15 +01:00
license remove blank lines at end of file 2019-11-26 00:12:08 +01:00
mk mk: remove library search path from binary 2019-11-25 23:51:52 +01:00
usertools usertools: fix telemetry client with python 3 2019-10-27 21:38:40 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
ABI_VERSION build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS buildtools: add ABI version check script 2019-11-20 23:05:39 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.11-rc3 2019-11-21 00:56:30 +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