linux/drivers/infiniband/ulp
Bart Van Assche 847462de3a IB/srpt: Fix srpt_cm_req_recv() error path (1/2)
Once a target session has been allocated, if an error occurs, the session
must be freed. Since it is not safe to call blocking code from the context
of an connection manager callback, trigger target session release in this
case by calling srpt_close_ch().

Fixes: db7683d7de ("IB/srpt: Fix login-related race conditions")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-07-13 11:55:32 -06:00
..
ipoib RDMA/ipoib: Fix return code from ipoib_cm_dev_init 2018-07-09 15:19:08 -06:00
iser IB/iser: Remove set-but-not-used variables 2018-07-09 12:11:22 -06:00
isert IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
opa_vnic opa_vnic: Just use skb_get_hash instead of skb_tx_hash 2018-04-29 22:01:32 -04:00
srp IB/srp: Remove driver version and release data information 2018-07-03 14:14:21 -06:00
srpt IB/srpt: Fix srpt_cm_req_recv() error path (1/2) 2018-07-13 11:55:32 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00