Hi,

On 21/01/2026 10:18 AM, Shani Peretz wrote:
When using template API with a represented_port pattern item that
has no spec, mlx5dr_rule_skip() dereferences a NULL pointer when
accessing v->port_id.

Now validating the spec before accessing port_id.

Fixes: 405242c52dd5 ("net/mlx5/hws: add rule object")
Cc: [email protected]

Signed-off-by: Shani Peretz <[email protected]>
Acked-by: Bing Zhao <[email protected]>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to