]> err.no Git - linux-2.6/commit
[SCSI] iscsi_tcp: stop leaking r2t_info's when the incoming R2T is bad
authorOlaf Kirch <olaf.kirch@oracle.com>
Thu, 13 Dec 2007 18:43:36 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:43 +0000 (18:28 -0600)
commit03766a1d4e4520066d3ed2097bfdf6e606aba828
tree56757a1710b8f1f2e0b243a5d727c7e24de6f210
parenta8ac6311cc21d78fa284cd43f56df2063f536bf1
[SCSI] iscsi_tcp: stop leaking r2t_info's when the incoming R2T is bad

iscsi_r2t_rsp checks the incoming R2T for sanity, and if it
thinks it's fishy, it will drop it silently. In this case, we
leaked an r2t_info object. If we do this often enough, we run
into a BUG_ON some time later.

Removed r2t wrappers and update patch by Mike Christie

Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/iscsi_tcp.c