Commit:     779ea1207b6a43943faa44f41be7311263315604
Parent:     62d42a62770dd66da2d3df693e70f4e5fae1716a
Author:     Mike Christie <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 28 17:32:15 2007 -0600
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Sun Mar 11 11:24:12 2007 -0500

    [SCSI] libiscsi: flush work before freeing connection
    It's possible that we call iscsi_xmitworker after iscsi_conn_release
    which causes a oops. This patch flushes the workqueue.
    Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
    Signed-off-by: Mike Christie <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/scsi/libiscsi.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c
index 7c75771..6346a91 100644
--- a/drivers/scsi/libiscsi.c
+++ b/drivers/scsi/libiscsi.c
@@ -1597,6 +1597,9 @@ void iscsi_conn_teardown(struct iscsi_cls_conn *cls_conn)
+       /* flush queued up work because we free the connection below */
+       scsi_flush_work(session->host);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to