Files
linux/drivers
Leon Romanovsky fb42b9801e RDMA/iwcm: Release resources if iw_cm module initialization fails
[ Upstream commit e677b72a06 ]

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 <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 12:26:23 +02:00
..
2021-09-15 09:47:30 +02:00
2021-07-14 16:53:42 +02:00
2021-09-15 09:47:36 +02:00
2021-07-14 16:53:13 +02:00
2020-12-30 11:51:26 +01:00
2021-08-26 08:36:17 -04:00