numam-dpdk/drivers/net/mlx5
Dekel Peled 97127d4298 net/mlx5: fix check of RSS queue index
RSS action validation function checks the queues included in RSS
to make sure they are valid.
A Queue is considered valid if the pointer to the queue (item at
location queue-index of RxQ array) is not a null value.
The queue indices are not checked. If a large value is entered as
queue index, using it as an index in RxQ array will result in a
pointer to memory out of array bounds. If this memory contains a
value which is not null, this queue will be wrongly considered valid.

This patch updates function mlx5_flow_validate_action_rss() with
check of the input queue indices, as done in function
mlx5_flow_validate_action_queue().

Fixes: 23c1d42c71 ("net/mlx5: split flow validation to dedicated function")
Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2019-11-20 17:36:05 +01:00
..
Makefile net/mlx5: control transmit doorbell register mapping 2019-11-11 14:23:02 +01:00
meson.build net/mlx5: control transmit doorbell register mapping 2019-11-11 14:23:02 +01:00
mlx5_defs.h net/mlx5: control transmit doorbell register mapping 2019-11-11 14:23:02 +01:00
mlx5_devx_cmds.c net/mlx5: fix query host adapter attributes 2019-11-20 17:36:05 +01:00
mlx5_ethdev.c net/mlx5: set maximum LRO packet size 2019-11-12 01:43:47 +01:00
mlx5_flow_dv.c net/mlx5: optimize tag traversal with hash list 2019-11-11 14:23:02 +01:00
mlx5_flow_meter.c net/mlx5: clean meter resources 2019-11-11 14:23:02 +01:00
mlx5_flow_verbs.c net/mlx5: refactor flow structure 2019-11-11 14:23:01 +01:00
mlx5_flow.c net/mlx5: fix check of RSS queue index 2019-11-20 17:36:05 +01:00
mlx5_flow.h net/mlx5: optimize tag traversal with hash list 2019-11-11 14:23:02 +01:00
mlx5_glue.c net/mlx5: add meter action creation to the glue 2019-11-11 14:23:02 +01:00
mlx5_glue.h net/mlx5: add meter action creation to the glue 2019-11-11 14:23:02 +01:00
mlx5_mac.c net/mlx5: set VF MAC address from host 2019-11-11 16:47:17 +01:00
mlx5_mp.c net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_mr.c remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
mlx5_mr.h remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
mlx5_nl.c net/mlx5: set VF MAC address from host 2019-11-11 16:47:17 +01:00
mlx5_prm.h net/mlx5: support meter modification operations 2019-11-11 14:23:02 +01:00
mlx5_rss.c net/mlx5: support RSS on hairpin 2019-11-08 23:15:04 +01:00
mlx5_rxmode.c ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
mlx5_rxq.c net/mlx5: set maximum LRO packet size 2019-11-12 01:43:47 +01:00
mlx5_rxtx_vec_altivec.h net/mlx5: add metadata support to Rx datapath 2019-11-11 14:23:02 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: add metadata support to Rx datapath 2019-11-11 14:23:02 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: add metadata support to Rx datapath 2019-11-11 14:23:02 +01:00
mlx5_rxtx_vec.c net/mlx5: add Altivec Rx 2019-10-25 19:00:22 +02:00
mlx5_rxtx_vec.h ethdev: move egress metadata to dynamic field 2019-11-08 23:15:05 +01:00
mlx5_rxtx.c net/mlx5: control transmit doorbell register mapping 2019-11-11 14:23:02 +01:00
mlx5_rxtx.h net/mlx5: control transmit doorbell register mapping 2019-11-11 14:23:02 +01:00
mlx5_stats.c ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
mlx5_trigger.c net/mlx5: fix condition to create default rule 2019-11-11 14:23:02 +01:00
mlx5_txq.c net/mlx5: control transmit doorbell register mapping 2019-11-11 14:23:02 +01:00
mlx5_utils.c net/mlx5: introduce hash list 2019-11-11 14:23:01 +01:00
mlx5_utils.h net/mlx5: introduce hash list 2019-11-11 14:23:01 +01:00
mlx5_vlan.c net/mlx5: create advanced RxQ via DevX 2019-07-23 14:31:36 +02:00
mlx5.c net/mlx5: optimize tag traversal with hash list 2019-11-11 14:23:02 +01:00
mlx5.h net/mlx5: set maximum LRO packet size 2019-11-12 01:43:47 +01:00
rte_pmd_mlx5_version.map