[SCSI] iscsi: always release crypto
authorPete Wyckoff <pw@osc.edu>
Wed, 8 Nov 2006 21:58:31 +0000 (15:58 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 10 Nov 2006 00:41:40 +0000 (09:41 +0900)
commit534284a09b3f58cd92acd0652b7267ee142932ba
tree15c2b207e88fbab869d1bc1fa4858de3db464f3c
parent7ca63cb470f23a197f187afe936d4bf806197d6e
[SCSI] iscsi: always release crypto

Unconditionally free crypto state, as it is always allocated during
TCP connection creation.  Without this, crypto structures leak and
crc32c module refcounts grow as connections are created and
destroyed.

Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c