diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2020-11-04 17:40:07 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-16 21:34:01 +0300 |
commit | c80a0c52d85c49a910d0dc0e342e8d8898677dc0 (patch) | |
tree | 320d8d7c941f888b211668ad711835ee3e421be9 /security/yama | |
parent | 0413755c95e76972451ac8433151bc368a065a3f (diff) | |
download | linux-c80a0c52d85c49a910d0dc0e342e8d8898677dc0.tar.xz |
RDMA/cma: Add missing error handling of listen_id
Don't silently continue if rdma_listen() fails but destroy previously
created CM_ID and return an error to the caller.
Fixes: d02d1f5359e7 ("RDMA/cma: Fix deadlock destroying listen requests")
Link: https://lore.kernel.org/r/20201104144008.3808124-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions