]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix error handling when adding flow rules
authorVlad Buslov <vladbu@mellanox.com>
Tue, 6 Feb 2018 08:52:19 +0000 (10:52 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Feb 2018 20:53:00 +0000 (12:53 -0800)
commit29024a4c33acb37f0fab335f0ab002a89d1e7126
tree6f65fff261bafdc22a73b564d4d3a454dee184b3
parent4288318c973da705b0adc5867f178646d0832dc7
net/mlx5: Fix error handling when adding flow rules

If building match list or adding existing fg fails when
node is locked, function returned without unlocking it.
This happened if node version changed or adding existing fg
returned with EAGAIN after jumping to search_again_locked label.

Fixes: fbc22f805021 ("net/mlx5: Support multiple updates of steering rules in parallel")
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c