]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit071304772fc747d5df13c51f1cf48a4b922a5e0d
tree085912ca0e9a14f7025b22b7a57fbcf1a8e12ad4
parentc88a026e01219488e745f4f0267fd76c2bb68421
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: bd71b08ec2ee ("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