linux/drivers/infiniband/hw
Dan Carpenter 57194fa763 IB/hfi1: Prevent a NULL dereference
In the original code, we set "fd->uctxt" to NULL and then dereference it
which will cause an Oops.

Fixes: f2a3bc00a0 ("IB/hfi1: Protect context array set/clear with spinlock")
Cc: <stable@vger.kernel.org> # 4.14.x
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-01-10 16:48:09 -05:00
..
bnxt_re Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
cxgb3 Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
cxgb4 iw_cxgb4: when flushing, complete all wrs in a chain 2017-12-21 16:06:06 -07:00
hfi1 IB/hfi1: Prevent a NULL dereference 2018-01-10 16:48:09 -05:00
hns RDMA/hns: Get rid of page operation after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
i40iw i40iw: Notify user of established connection after QP in RTS 2017-12-01 12:21:26 -07:00
mlx4 IB/mlx4: Fix mlx4_ib_alloc_mr error flow 2018-01-02 11:09:05 -07:00
mlx5 IB/mlx5: Fix mlx5_ib_alloc_mr error flow 2017-12-27 15:24:41 -07:00
mthca treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
nes treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
ocrdma IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey 2017-11-13 16:18:33 -05:00
qedr Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
qib Merge branch 'akpm' (patches from Andrew) 2017-11-15 19:42:40 -08:00
usnic Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
vmw_pvrdma RDMA/vmw_pvrdma: Avoid use after free due to QP/CQ/SRQ destroy 2017-12-21 16:06:07 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00