net/mlx5: DR, Init lists that are used in rule's member
authorErez Shitrit <erezsh@mellanox.com>
Mon, 25 Nov 2019 08:26:24 +0000 (10:26 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 6 Jan 2020 23:30:05 +0000 (15:30 -0800)
commitdf55c5586e5185f890192a6802dc5b46fddd3606
treea9cba4c3880ee99c235f060f2ae789d33dba71a2
parent6412bb396a63f28de994b1480edf8e4caf4aa494
net/mlx5: DR, Init lists that are used in rule's member

Whenever adding new member of rule object we attach it to 2 lists,
These 2 lists should be initialized first.

Fixes: 41d07074154c ("net/mlx5: DR, Expose steering rule functionality")
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c