IB/mlx5: Fix steering resource leak
authorMaor Gottlieb <maorg@mellanox.com>
Sun, 28 Aug 2016 11:16:30 +0000 (14:16 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:14 +0000 (16:54 -0400)
commit7055a29471eebf4b62687944694222635ed44b09
tree3a0920a2a7b9fc10d35b4a2106543be9191b82ba
parenteb49ab0c5f3d8e5efb696f100978bf966ecf6be3
IB/mlx5: Fix steering resource leak

Fix multicast flow rule leak on adding unicast rule failure.

Fixes: 038d2ef87572 ('IB/mlx5: Add flow steering support')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c