]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] scsi_tcp: rm data rx and tx tfms
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Aug 2006 22:09:28 +0000 (18:09 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 2 Sep 2006 18:37:18 +0000 (13:37 -0500)
commitdd8c0d958621e3137f3e3302f7b8952041a4a1d7
tree30b943eebcc044cb3305c449d7eea00376115a22
parent62f383003c22cd34920d0412465eddcb1223da0d
[SCSI] scsi_tcp: rm data rx and tx tfms

We currently allocated seperate tfms for data and header digests. There
is no reason for this since we can never calculate a rx header and
digest at the same time. Same for sends. So this patch removes the data
tfms and has the send and recv sides use the rx_tfm or tx_tfm.

I also made the connection creation code preallocate the tfms because I
thought I hit a bug where I changed the digests settings during a
relogin but could not allocate the tfm and then we just failed.

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