linux/drivers/infiniband
Jason Gunthorpe efafae6717 IB/cm: Tidy remaining cm_msg free paths
Now that all the free paths are explicit cm_free_msg() will only be called
for msgs's allocated with cm_alloc_msg(), so we can assume the context is
set. Place it after the allocation function it is paired with for clarity.

Also remove a bogus NULL assignment in one place after a cancel. This does
nothing other than disable completions to become events, but changing the
state already did that.

Link: https://lore.kernel.org/r/082fd3552be0d1a2c19b1c4cefb5f3f0e3e68e82.1622629024.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-02 15:41:57 -03:00
..
core IB/cm: Tidy remaining cm_msg free paths 2021-06-02 15:41:57 -03:00
hw RDMA/core: Sanitize WQ state received from the userspace 2021-06-02 15:20:11 -03:00
sw RDMA/rxe: Remove unused parameter udata 2021-05-20 11:52:17 -03:00
ulp RDMA/rtrs: Avoid Wtautological-constant-out-of-range-compare 2021-05-31 15:38:08 -03:00
Kconfig RDMA/umem: Support importing dma-buf as user memory region 2021-01-20 16:07:52 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00