summaryrefslogtreecommitdiff
path: root/samples/Makefile
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-07-23 17:08:55 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-07-30 16:01:40 +0300
commite677b72a0647249370f2635862bf0241c86f66ad (patch)
treec43eacb41442c5aba4be4b20ee7ab52efe37bec2 /samples/Makefile
parenta0293eb24936ff30e5a23f9438fd4ad1c4009dbf (diff)
downloadlinux-e677b72a0647249370f2635862bf0241c86f66ad.tar.xz
RDMA/iwcm: Release resources if iw_cm module initialization fails
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: b493d91d333e ("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>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions