linux/drivers/infiniband
Matan Barak 52e8b41f2d IB/mlx4: Fix create CQ error flow
commit 593ff73bcf upstream.

Currently, if ib_copy_to_udata fails, the CQ
won't be deleted from the radix tree and the HW (HW2SW).

Fixes: 225c7b1fee ('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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-23 03:54:36 +00:00
..
core IB/core: Avoid unsigned int overflow in sg_alloc_table 2017-02-23 03:54:35 +00:00
hw IB/mlx4: Fix create CQ error flow 2017-02-23 03:54:36 +00:00
ulp IB/srp: Fix infinite loop when FMR sg[0].offset != 0 2017-02-23 03:54:10 +00:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00