linux/drivers/infiniband
Parav Pandit 67fecaf8e9 RDMA/core: Fix unwinding flow in case of error to register device
If port pkey list initialization fails, free the port_immutable memory
during cleanup path. Currently it is missed out.

If cache setup fails, free the pkey list during cleanup path.

Fixes: d291f1a65 ("IB/core: Enforce PKey security on QPs")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-10-17 11:43:07 -04:00
..
core RDMA/core: Fix unwinding flow in case of error to register device 2018-10-17 11:43:07 -04:00
hw IB/mlx5: Allow scatter to CQE without global signaled WRs 2018-10-17 11:25:41 -04:00
sw RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
ulp ib_srp: Remove WARN_ON in srp_terminate_io() 2018-10-17 11:42:58 -04:00
Kconfig RDMA: Fix building with CONFIG_MMU=n 2018-10-03 16:01:03 -06:00
Makefile