]> err.no Git - linux-2.6/commit
[SCSI] libiscsi: flush work before freeing connection
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 28 Feb 2007 23:32:15 +0000 (17:32 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 11 Mar 2007 16:24:12 +0000 (11:24 -0500)
commit779ea1207b6a43943faa44f41be7311263315604
tree5c08f4f9ff44416cfb92084cd10885697fb2016f
parent62d42a62770dd66da2d3df693e70f4e5fae1716a
[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 <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c