From: Brian King Date: Mon, 12 Dec 2005 19:05:08 +0000 (-0600) Subject: [PATCH] Fix SCSI scanning slab corruption X-Git-Tag: v2.6.15-rc6~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66e05225262cd9271fac13fe2fd1e9edb65e3978;p=pandora-kernel.git [PATCH] Fix SCSI scanning slab corruption There is a double free in the scsi scan code if a LLDD's slave_alloc() call fails. There is a direct call to scsi_free_queue and then the following put_device calls the release function, which also frees the queue. Remove the redundant scsi_free_queue. Signed-off-by: Brian King Tested-by: Nathan Lynch [ Also removed some strange whitespace artifacts in that area ] Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed