Files
linux/drivers
Leon Romanovsky 78bbca0bf3 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 11:48:01 +02:00
..
2021-07-20 16:15:55 +02:00
2021-09-22 11:47:54 +02:00
2021-01-17 14:04:22 +01:00
2020-12-30 11:26:04 +01:00
2021-08-26 08:36:46 -04:00
2021-09-22 11:47:51 +02:00