2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-04 11:43:54 +08:00
linux-next/drivers/infiniband/hw
Dan Carpenter 9064d6055c IB/cxgb3: Fix error codes in iwch_alloc_mr()
We accidentally don't set the error code on some error paths.  It means
return ERR_PTR(0) which is NULL and results in a NULL dereference in the
caller.

Fixes: 13a239330a ("RDMA/cxgb3: Don't ignore insert_handle() failures")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-20 11:20:49 -04:00
..
bnxt_re RDMA/bnxt_re: checking for NULL instead of IS_ERR() 2017-07-20 11:20:49 -04:00
cxgb3 IB/cxgb3: Fix error codes in iwch_alloc_mr() 2017-07-20 11:20:49 -04:00
cxgb4 cxgb4: Fix error codes in c4iw_create_cq() 2017-07-20 11:20:49 -04:00
hfi1 IB/{rdmavt, qib, hfi1}: Remove gfp flags argument 2017-07-17 21:21:23 -04:00
hns IB/hns: Fix for checkpatch.pl comment style warnings 2017-07-17 21:21:29 -04:00
i40iw IB/i40iw: Fix error code in i40iw_create_cq() 2017-07-20 11:20:49 -04:00
mlx4 {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
mlx5 IB/mlx5: Clean mr_cache debugfs in case of failure 2017-07-17 21:21:25 -04:00
mthca IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
nes IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
ocrdma IB/ocrdma: fix out of bounds access to local buffer 2017-05-01 15:04:23 -04:00
qedr Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
qib IB/{rdmavt, qib, hfi1}: Remove gfp flags argument 2017-07-17 21:21:23 -04:00
usnic IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
vmw_pvrdma IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00