| commit | 593ff73bcfdc79f79a8a0df55504f75ad3e5d1a9 | [log] [tgz] |
|---|---|---|
| author | Matan Barak <matanb@mellanox.com> | Thu Nov 10 11:30:55 2016 +0200 |
| committer | Doug Ledford <dledford@redhat.com> | Wed Nov 16 20:03:44 2016 -0500 |
| tree | ee53147d4228608b6c83ba2d9fde51916da8af2c | |
| parent | 37995116fecfce2b61ee3da6e73b3e394c6818f9 [diff] |
IB/mlx4: Fix create CQ error flow
Currently, if ib_copy_to_udata fails, the CQ
won't be deleted from the radix tree and the HW (HW2SW).
Fixes: 225c7b1feef1 ('IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>