linux_dsm_epyc7002/drivers/infiniband/hw
Michael J. Ruhl e87473bc1b IB/hfi1: Only set fd pointer when base context is completely initialized
The allocate_ctxt() function adds the context to the fd data structure.
Since the context is not completely initialized, this can cause confusion
as to whether the context is valid or not.

Move the fd reference from allocate_ctxt() to setup_base_ctxt().
Update the necessary functions to be aware of this move.

Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-31 15:18:38 -04:00
..
bnxt_re RDMA/bnxt_re: Allow posting when QPs are in error 2017-07-24 08:45:12 -04:00
cxgb3 RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
cxgb4 RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
hfi1 IB/hfi1: Only set fd pointer when base context is completely initialized 2017-07-31 15:18:38 -04:00
hns IB/hns: include linux/interrupt.h 2017-07-31 14:44:47 -04:00
i40iw RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
mlx4 Merge branch 'misc' into k.o/for-next 2017-07-27 09:00:38 -04:00
mlx5 Merge branch 'misc' into k.o/for-next 2017-07-27 09:00:38 -04:00
mthca RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
nes RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
ocrdma RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
qedr RDMA/qedr: notify user application of supported WIDs 2017-07-27 08:59:52 -04:00
qib Merge branch 'misc' into k.o/for-next 2017-07-27 09:00:38 -04:00
usnic RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
vmw_pvrdma RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00