net/mlx5: fix flow director flow add
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 24 Oct 2017 15:18:18 +0000 (17:18 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commitdb303de11eedfaeb7d27a611cdcb3b8e8b633d93
tree5ab4c383dbc67b3a66a80412f21e326812b6ca49
parentf8cb4b57e636d5701fc5cea672af7fc4d2b2e952
net/mlx5: fix flow director flow add

Flows are added by priv_flow_create() in the associated list, adding them a
second time corrupts the list causing an infinite loop when parsing it.

Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c