[dpdk-dev] [PATCH] ethdev: fix missed item expansion for RSS flow

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 26 14:22:04 CET 2019


On 11/26/2019 9:04 AM, Matan Azrad wrote:
> When the last item in flow pattern includes "next protocol" field which
> is relevant for RSS flow expansion, a new item is added to the pattern
> according to the "next protocol" field. This field is called missed
> field.
> 
> The missed field wrongly was not initialized what caused to some of the
> flow item fields to contain garbage values.
> 
> As a result, the PMDs internal flow engine may crash.
> 
> For example, the spec value may include garbage pointer and to cause
> crash.
> 
> Initialize the missed field with zeroes.
> 
> Fixes: fc2dd8dd492f ("ethdev: fix expand RSS flows")
> Cc: jackmin at mellanox.com
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> Acked-by: Ori Kam <orika at mellanox.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list