iscsi - Fix bug in iscsi initiator driver
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Jun 2010 16:29:17 +0000 (09:29 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Jun 2010 16:29:17 +0000 (09:29 -0700)
commit8650c3d4b74318258e46d84c66f69ff20ce00211
tree16355140ece411fcd40ca8a7b102427d4186e744
parent91e04f71fb1d3e119111333aa27bf02595d51a2d
iscsi - Fix bug in iscsi initiator driver

* The iscsi initiator was trying to record the thread pointer for the
  original caller attaching the connection, but that caller is strictly
  temporary.

  Record the kernel thread created by the attachment instead of the
  caller's thread.

Reported-by: Antonio Huete Jimenez <tuxillo@quantumachine.net>:
sys/dev/disk/iscsi/initiator/isc_soc.c
sys/dev/disk/iscsi/initiator/iscsi.c