diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-07-10 20:31:59 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-13 20:58:45 +0300 |
commit | 6869e0004fe16184acd6488f0c637e0081a84a8a (patch) | |
tree | dc5e9137203d4d377a3d014cd00c548cded18c35 /drivers/infiniband/core | |
parent | 847462de3a0aabc5343a1e338537f69a03bb61af (diff) | |
download | linux-6869e0004fe16184acd6488f0c637e0081a84a8a.tar.xz |
IB/srpt: Fix srpt_cm_req_recv() error path (2/2)
If a login request was received through the RDMA/CM and if an error occurs
during login, clear rdma_cm_id->context instead of ib_cm_id->context.
Fixes: 63cf1a902c9d ("IB/srpt: Add RDMA/CM support")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions