[SCSI] iscsi update: set deamon pid earlier
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 2 Feb 2006 03:07:01 +0000 (21:07 -0600)
committer <jejb@mulgrave.il.steeleye.com> <>
Sat, 4 Feb 2006 22:18:51 +0000 (16:18 -0600)
commitee7f8e405342722e42c15fe8e841a679f8951eea
tree3b21836a9bee874442817ac8f4433f552c6ccb26
parent142e301fc818de9b116706835cd9fc864e73f203
[SCSI] iscsi update: set deamon pid earlier

>From michaelc@cs.wisc.edu:

If the transport lookup fails we set the daemon pid too late.
This can cause us deadlock since the netlink code will think we
meant to call back into our iscsi_if_rx function.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Alex Aizman <itn780@yahoo.com>
Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_iscsi.c