SCSI: Fix protection scsi_data_buffer leak
commitb509b9bd9966e8922bc44e77abe2fea6d8e1c2db
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Sep 2009 21:33:01 +0000 (18 17:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Oct 2009 22:11:44 +0000 (22 15:11 -0700)
treef520a2e9e54d976f0c95af62a2f60d3abe24f42a
parent39335b18d59c1ae551d218e4f4a5f1a70aa98687
SCSI: Fix protection scsi_data_buffer leak

commit b4c2554d40ceac130a8d062eaa8838ed22158c45 upstream.

We would leak a scsi_data_buffer if the free_list command was of the
protected variety.

Reported-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/scsi.c