[SCSI] libiscsi: fix oops in connection create failure path
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 16 Oct 2006 22:09:39 +0000 (18:09 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:13:53 +0000 (15:13 -0700)
commit98644047916c24258fb47c3dab2bed8a44f53b83
tree06b94a000abae5d4710786cc57a5ec424e09cc12
parent43a145a3440c5c5f24ff2888801e40e2242187e6
[SCSI] libiscsi: fix oops in connection create failure path

If connection creation fails we end up calling list_del
on a invalid struct. This then causes an oops. We are not
acutally using the lists (old MCS code we thought might
be useful elsewhere) so this patch just removes that
code.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h