]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit9238e380e823a39983ee8d6b6ee8d1a9c4ba8a65
tree6f65fff261bafdc22a73b564d4d3a454dee184b3
parent26a0f6e82997d5c8345782b55d3a7894421f777f
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: bd71b08ec2ee ("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