commit | 48cbde4bd2c7c028a7205cb83386bb345c315adc | [log] [tgz] |
---|---|---|
author | Alex Vesker <valex@mellanox.com> | Thu Sep 19 11:24:19 2019 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Sep 24 12:38:07 2019 +0300 |
tree | 41a7a5cd8b898a77b28210e2f80d49667ac586a6 | |
parent | cc5fd15fc5578e5a3da13f6b14b42ebef5ad42c2 [diff] |
net/mlx5: DR, Fix getting incorrect prev node in ste_free When we free an STE and the STE is in the middle of collision list, the prev_ste was obtained incorrectly from the list. To avoid such issues list_entry calls replaced with standard list API. Fixes: 26d688e33f88 ("net/mlx5: DR, Add Steering entry (STE) utilities") Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>