numam-dpdk/drivers/net/mlx5
Jiawei Wang ca5eb60ecd net/mlx5: fix resource release for mirror flow
The mlx5 PMD allocated the resources of the sample actions, and then
moved these ones to the destination actions array. The original indices
were not cleared and the resources were referenced twice in the
flow object - as the fate actions and in the destination actions array.

This causes the failure on flow destroy because PMD tried to release the
same objects twice.

The patch clears the original indices, add the missed checking for zero
and eliminates multiple object releasing.

Fixes: 00c10c2211 ("net/mlx5: update translate function for mirroring")
Cc: stable@dpdk.org

Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Reviewed-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-04-13 13:38:16 +02:00
..
linux ethdev: validate input in module EEPROM dump 2021-04-08 00:26:39 +02:00
windows net/mlx5: fix link speed calculation on Windows 2021-04-13 13:22:54 +02:00
meson.build net/mlx5: remove Linux files from Windows compilation 2021-01-08 16:03:07 +01:00
mlx5_defs.h net/mlx5: refactor bonding representor probing 2021-03-31 09:16:28 +02:00
mlx5_devx.c net/mlx5: support timestamp format 2021-03-16 10:05:34 +01:00
mlx5_devx.h net/mlx5: share Tx control code 2020-10-09 13:17:42 +02:00
mlx5_ethdev.c net/mlx5: probe host PF representor with sub-function 2021-03-31 09:16:39 +02:00
mlx5_flow_age.c net/mlx5: support timestamp format 2021-03-16 10:05:34 +01:00
mlx5_flow_dv.c net/mlx5: fix resource release for mirror flow 2021-04-13 13:38:16 +02:00
mlx5_flow_meter.c net/mlx5: update flow meter capability flags names 2021-02-03 00:48:11 +01:00
mlx5_flow_verbs.c net/mlx5: refuse empty VLAN in flow pattern 2021-01-29 18:16:08 +01:00
mlx5_flow.c net/mlx5: fix redundant flow after RSS expansion 2021-04-13 13:23:01 +02:00
mlx5_flow.h net: provide IP-related API on any OS 2021-04-15 01:56:43 +02:00
mlx5_mac.c net: provide IP-related API on any OS 2021-04-15 01:56:43 +02:00
mlx5_mr.c net/mlx5: enable debug logs dynamically 2021-03-15 14:30:55 +01:00
mlx5_mr.h common/mlx5: remove inclusion of Verbs header files 2020-07-21 15:46:30 +02:00
mlx5_rss.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx5_rxmode.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx5_rxq.c net/mlx5: enable debug logs dynamically 2021-03-15 14:30:55 +01:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_rxtx_vec.c net/mlx5: fix mbuf overflow in vectorized MPRQ 2020-11-22 15:37:03 +01:00
mlx5_rxtx_vec.h net/mlx5: implement vectorized MPRQ burst 2020-11-03 23:24:25 +01:00
mlx5_rxtx.c net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_rxtx.h net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_stats.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx5_trigger.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx5_txpp.c net/mlx5: support timestamp format 2021-03-16 10:05:34 +01:00
mlx5_txq.c net/mlx5: support mbuf fast free offload 2021-01-29 18:16:08 +01:00
mlx5_utils.c net/mlx5: reduce log level of alignment message 2021-03-15 14:30:58 +01:00
mlx5_utils.h common/mlx5: align log prefix across drivers 2021-04-07 09:43:32 +02:00
mlx5_vlan.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mlx5.c common/mlx5: rename definition of PCI driver name 2021-04-07 09:43:34 +02:00
mlx5.h net: provide IP-related API on any OS 2021-04-15 01:56:43 +02:00
rte_pmd_mlx5.h net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00
version.map net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00