]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix not releasing read lock when adding flow rules
authorRoi Dayan <roid@mellanox.com>
Sun, 19 Aug 2018 05:56:09 +0000 (08:56 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Sep 2018 00:08:33 +0000 (17:08 -0700)
commit3f7360076ea71c6900005d43ad1597cb1cc5a19c
tree085912ca0e9a14f7025b22b7a57fbcf1a8e12ad4
parent53eed144ae6d5879cce538037f87e680fc2e6842
net/mlx5: Fix not releasing read lock when adding flow rules

If building match list fg fails and we never jumped to
search_again_locked label then the function returned without
unlocking the read lock.

Fixes: c3b2221ab081 ("net/mlx5: Support multiple updates of steering rules in parallel")
Signed-off-by: Roi Dayan <roid@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