]> err.no Git - linux-2.6/commit
[SCSI] fix oops in scsi_release_buffers()
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 15 Sep 2005 17:52:51 +0000 (13:52 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 17 Sep 2005 20:24:53 +0000 (15:24 -0500)
commitb95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e
tree6b01de07c638fd596cc254ca6a095aa4f5ef9ba2
parent1832a5862f2e1b4e5835611ee14bc30a8ed3cad5
[SCSI] fix oops in scsi_release_buffers()

I found one other thing that needs to be fixed.  The call to
scsi_release_buffers in scsi_unprep_request causes an oops, because the
sgtable has already been freed in scsi_io_completion.  The following patch
is needed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c