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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Jan 2020 11:21:51 +0000 (12:21 +0100)
commitedac9ecdf48da11fbc9ba944a1e9a7d5987e9c35
treebba9eecd76050b5cf002c10847e285a79ddbcba8
parentcaef8a716245726ede87417113db03f045fc1989
net/mlx5: DR, Init lists that are used in rule's member

[ Upstream commit df55c5586e5185f890192a6802dc5b46fddd3606 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c