]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04990bb99a468b498cde363c29f8dd312bb3f7b3
treea9cba4c3880ee99c235f060f2ae789d33dba71a2
parentaae4895b65a6f691aa462b3a26fad8795776578d
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: e49297b3a5b0 ("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