linux/drivers/infiniband
Jason Gunthorpe 732d41c545 RDMA/cma: Make the locking for automatic state transition more clear
Re-organize things so the state variable is not read unlocked. The first
attempt to go directly from ADDR_BOUND immediately tells us if the ID is
already bound, if we can't do that then the attempt inside
rdma_bind_addr() to go from IDLE to ADDR_BOUND confirms the ID needs
binding.

Link: https://lore.kernel.org/r/20200902081122.745412-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-17 09:09:23 -03:00
..
core RDMA/cma: Make the locking for automatic state transition more clear 2020-09-17 09:09:23 -03:00
hw RDMA/i40iw: Avoid typecast from void to pci_dev 2020-09-16 13:40:29 -03:00
sw RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
ulp RDMA/ipoib: Convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-16 13:46:18 -03:00
Kconfig IB/uverbs: Enable CQ ioctl commands by default 2020-07-06 19:50:33 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00