android_kernel_motorola_sm6375/drivers/infiniband
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Leon Romanovsky fb42b9801e RDMA/iwcm: Release resources if iw_cm module initialization fails
[ Upstream commit e677b72a0647249370f2635862bf0241c86f66ad ]

The failure during iw_cm module initialization partially left the system
with unreleased memory and other resources. Rewrite the module init/exit
routines in such way that netlink commands will be opened only after
successful initialization.

Fixes: b493d91d33 ("iwcm: common code for port mapper")
Link: https://lore.kernel.org/r/b01239f99cb1a3e6d2b0694c242d89e6410bcd93.1627048781.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-09-22 12:26:23 +02:00
..
core RDMA/iwcm: Release resources if iw_cm module initialization fails 2021-09-22 12:26:23 +02:00
hw IB/hfi1: Adjust pkey entry in index 0 2021-09-22 12:26:23 +02:00
sw RDMA/rxe: Don't overwrite errno from ib_umem_get() 2021-07-19 08:53:12 +02:00
ulp RDMA/ipoib: Fix warning caused by destroying non-initial netns 2021-06-16 11:59:44 +02:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-24 13:29:05 +01:00
Makefile