From: Roland Dreier <roland@xxxxxxxxxxxxxxx> Hi Nic, Here's a series that's fundamentally about fixing a use-after-free in qla_target code. It ends up being seven patches because I wanted to make each step easy to review, and several of these are just cleanups that stand on their own. We have a few more qla2xxx-related fixes that I need to clean up and merge with the latest. I'll send them soon. Roland Dreier (7): qla2xxx: Get rid of redundant qla_tgt_sess.tearing_down target: Un-export target_get_sess_cmd() sbp-target: Consolidate duplicated error path code in sbp_handle_command() target: Allow for target_submit_cmd() returning errors target: Check sess_tearing_down in target_get_sess_cmd() qla2xxx: Remove racy, now-redundant check of sess_tearing_down target: Remove se_session.sess_wait_list drivers/scsi/qla2xxx/qla_target.c | 16 ++-------- drivers/scsi/qla2xxx/qla_target.h | 1 - drivers/scsi/qla2xxx/tcm_qla2xxx.c | 10 +++--- drivers/target/sbp/sbp_target.c | 36 ++++++++++----------- drivers/target/target_core_transport.c | 55 ++++++++++++++++++++------------ drivers/target/tcm_fc/tfc_cmd.c | 8 +++-- drivers/usb/gadget/tcm_usb_gadget.c | 20 +++++------- include/target/target_core_base.h | 1 - include/target/target_core_fabric.h | 5 ++- 9 files changed, 73 insertions(+), 79 deletions(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html