linux/drivers/infiniband
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
..
core IB: Enable uverbs_destroy_def_handler to be used by drivers 2018-07-10 11:52:06 -06:00
hw RDMA/mlx5: Check that supplied blue flame index doesn't overflow 2018-07-13 11:54:50 -06:00
sw RDMA/rxe: Simplify the error handling code in rxe_create_ah() 2018-07-09 12:55:28 -06:00
ulp IB/srpt: Fix srpt_cm_req_recv() error path (1/2) 2018-07-13 11:55:32 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00