This is a note to let you know that I've just added the patch titled Target/iser: Wait for proper cleanup before unloading to the 3.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: target-iser-wait-for-proper-cleanup-before-unloading.patch and it can be found in the queue-3.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From f5ebec9629cf78eeeea4b8258882a9f439ab2404 Mon Sep 17 00:00:00 2001 From: Sagi Grimberg <sagig@xxxxxxxxxxxx> Date: Mon, 19 May 2014 17:44:25 +0300 Subject: Target/iser: Wait for proper cleanup before unloading From: Sagi Grimberg <sagig@xxxxxxxxxxxx> commit f5ebec9629cf78eeeea4b8258882a9f439ab2404 upstream. disconnected_handler works are scheduled on system_wq. When attempting to unload, first make sure all works have cleaned up. Signed-off-by: Sagi Grimberg <sagig@xxxxxxxxxxxx> Signed-off-by: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/infiniband/ulp/isert/ib_isert.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c @@ -3289,6 +3289,7 @@ destroy_rx_wq: static void __exit isert_exit(void) { + flush_scheduled_work(); destroy_workqueue(isert_comp_wq); destroy_workqueue(isert_rx_wq); iscsit_unregister_transport(&iser_target_transport); Patches currently in stable-queue which might be from sagig@xxxxxxxxxxxx are queue-3.15/target-iser-fix-a-wrong-dereference-in-case-discovery-session-is-over-iser.patch queue-3.15/target-iser-fix-hangs-in-connection-teardown.patch queue-3.15/target-iscsi-fix-sendtargets-response-pdu-for-iser-transport.patch queue-3.15/target-iser-bail-from-accept_np-if-np_thread-is-trying-to-close.patch queue-3.15/libiscsi-iser-adjust-data_length-to-include-protection-information.patch queue-3.15/target-iser-wait-for-proper-cleanup-before-unloading.patch queue-3.15/target-sbc-loopback-adjust-command-data-length-in-case-pi-exists-on-the-wire.patch queue-3.15/target-iser-gracefully-reject-t10-pi-enabled-connect-request-if-not-supported.patch queue-3.15/scsi_cmnd-introduce-scsi_transfer_length-helper.patch queue-3.15/target-iser-improve-cm-events-handling.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html