diff options
author | Mark Bloch <markb@mellanox.com> | 2016-09-05 10:58:04 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-18 14:11:43 (GMT) |
commit | 0e0751cdfa466923218ff59a8624fa8d1050b6fb (patch) | |
tree | 72acb1080a2a1ecc4be6f19d51e2718e179e8d52 /net | |
parent | 7c4c32a2976e061f3cc9cecf54ad20dd8861a212 (diff) | |
download | linux-0e0751cdfa466923218ff59a8624fa8d1050b6fb.tar.xz |
net/mlx5: Don't unlock fte while still using it
commit 0fd758d6112f867b2cc6df0f6a856048ff99b211 upstream.
When adding a new rule to an fte, we need to hold the fte lock
until we add that rule to the fte and increase the fte ref count.
Fixes: 0c56b97503fd ("net/mlx5_core: Introduce flow steering API")
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions