[SCSI] iscsi: fix iscsi_endpoint leak
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 16 Feb 2011 21:04:33 +0000 (15:04 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 24 Feb 2011 17:41:05 +0000 (12:41 -0500)
When iscsid restarts it does not know the connection's
endpoint, so it is getting leaked. This fixes the problem
by having the iscsi class force a disconnect before a
new connection is bound.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found