linux_dsm_epyc7002/drivers/infiniband/hw
Michal Kalderon a25984f3ba RDMA/qedr: Fix null-pointer dereference when calling rdma_user_mmap_get_offset
When running against rdma-core that doesn't support doorbell recovery, the
rdma_user_mmap_entry won't be allocated for doorbell recovery related
mappings.

We have a flag indicating whether rdma-core supports doorbell recovery or
not which was used during initialization, however some cases didn't check
that the rdma_user_mmap_entry exists before attempting to acquire it's
offset.

Fixes: 97f6125092 ("RDMA/qedr: Add doorbell overflow recovery support")
Link: https://lore.kernel.org/r/20191118150645.26602-1-michal.kalderon@marvell.com
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-11-19 16:15:36 -04:00
..
bnxt_re IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
cxgb4 RDMA/iw_cgxb4: Fix an error handling path in 'c4iw_connect()' 2019-11-17 10:37:00 -04:00
efa IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
hfi1 RDMA: Change MAD processing function to remove extra casting and parameter 2019-11-12 20:20:15 -04:00
hns IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
i40iw IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
mlx4 IB/mlx4: Update HW GID table while adding vlan GID 2019-11-19 15:58:55 -04:00
mlx5 IB/mlx5: Support extended number of strides for Striding RQ 2019-11-19 16:05:41 -04:00
mthca IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
ocrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
qedr RDMA/qedr: Fix null-pointer dereference when calling rdma_user_mmap_get_offset 2019-11-19 16:15:36 -04:00
qib RDMA/qib: Validate ->show()/store() callbacks before calling them 2019-11-14 11:49:15 -04:00
usnic
vmw_pvrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00