[dpdk-dev] [PATCH v1] net/mlx5: fix RSS flow configuration crash

Adrien Mazarguil adrien.mazarguil at 6wind.com
Wed Aug 1 16:13:44 CEST 2018


On Wed, Aug 01, 2018 at 04:40:07PM +0300, Moti Haimovsky wrote:
> This commit fixes a segmentation fault observed when configuring
> mlx5 with RSS flow rule containing invalid queues indices such as
> negative numbers, queue numbers bigger than the number Rx queues the
> PMD or has no queues at all.
> 
> Fixes: 592f05b29a25 ("net/mlx5: add RSS flow action")
> Cc: nelio.laranjeiro at 6wind.com
> 
> Signed-off-by: Moti Haimovsky <motih at mellanox.com>
> ---
> v1:
> * Added check for zero queues.

NACK until my previous comment regarding RTE_FLOW_ERROR_TYPE_ACTION_CONF is
taken into account.

-- 
Adrien Mazarguil
6WIND


More information about the dev mailing list