numam-dpdk/drivers
Bing Zhao f21a98196a net/mlx5: fix empty flow error structure
The output flow error parameter is used to indicate the detailed
reason of the failure when calling a rte_flow_* interface. Even
though sometimes the application will not check it or use it, the PMD
must fill it in the failure branch before returning. Or else, some
dirty value in the stack, heap will be accessed as a pointer and then
cause a crash.
In this case, when a port is stopped, it is not allowed to insert a
flow from application. The detailed error information should be
filled. If the application needs to check the detailed error reason,
it will get the information but not result in any crash.

Fixes: 40b9e7f65f ("net/mlx5: check device status before creating flow")

Signed-off-by: Bing Zhao <bingz@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2020-05-05 15:54:26 +02:00
..
baseband baseband/fpga_5gnr_fec: support interrupt 2020-04-19 22:34:26 +02:00
bus bus/pci: fix UIO resource access from secondary process 2020-04-25 22:41:58 +02:00
common eal/ppc: fix bool type after altivec include 2020-05-06 11:45:13 +02:00
compress fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
crypto crypto/qat: support plain SHA1..SHA512 hashes 2020-04-19 22:45:11 +02:00
event fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
mempool replace hot attributes 2020-04-16 18:30:58 +02:00
net net/mlx5: fix empty flow error structure 2020-05-05 15:54:26 +02:00
raw version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00
vdpa version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: add internal tag check 2020-04-25 17:01:01 +02:00