diff options
author | Michal Kalderon <michal.kalderon@marvell.com> | 2020-09-02 19:57:37 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-11 10:24:54 -0300 |
commit | 8a5a10a1a74465065c75d9de1aa6685e1f1aa117 (patch) | |
tree | a4ce60499d7be5450bb31b380e2f6a4fe69bf598 /drivers/net/ethernet/qlogic/qede/qede_rdma.c | |
parent | a379ad54e55a12618cae7f6333fd1b3071de9606 (diff) | |
download | linux-8a5a10a1a74465065c75d9de1aa6685e1f1aa117.tar.bz2 |
RDMA/qedr: Fix return code if accept is called on a destroyed qp
In iWARP, accept could be called after a QP is already destroyed. In this
case an error should be returned and not success.
Fixes: 82af6d19d8d9 ("RDMA/qedr: Fix synchronization methods and memory leaks in qedr")
Link: https://lore.kernel.org/r/20200902165741.8355-5-michal.kalderon@marvell.com
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qede/qede_rdma.c')
0 files changed, 0 insertions, 0 deletions