linux-stable/drivers/infiniband
Colin Ian King e8ac9389f0 RDMA: Fix allocation failure on pointer pd
The null check on an allocation failure on pd is currently checking
if pd is non-null rather than null. Fix this by adding the missing !
operator.

Fixes: 21a428a019 ("RDMA: Handle PD allocations by IB/core")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-02-13 09:00:43 -07:00
..
core RDMA/devices: Re-organize device.c locking 2019-02-08 16:56:45 -07:00
hw RDMA: Fix allocation failure on pointer pd 2019-02-13 09:00:43 -07:00
sw Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma into for-next 2019-02-13 09:35:39 -05:00
ulp Linux 5.0-rc5 2019-02-04 14:53:42 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile