Daniel Gryniewicz f81426a84b [SCSI] fix for bidi use after free
When ending a bi-directionional SCSI request, blk_finish_request()
cleans up and frees the request, but scsi_release_bidi_buffers() tries
to indirect through the request to find it's data buffers.  This causes
a panic due to a null pointer dereference.

Move the call to scsi_release_bidi_buffers() before the call to
blk_finish_request().

Signed-off-by: Daniel Gryniewicz <dang@linuxbox.com>
Reviewed-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2014-09-19 13:23:33 +01:00
..
2014-07-25 17:16:59 -04:00
2014-08-08 15:57:29 -07:00
2014-08-15 18:28:58 -06:00
2014-08-08 15:57:29 -07:00
2014-08-08 15:57:29 -07:00
2014-08-08 15:57:29 -07:00
2014-08-08 15:57:29 -07:00
2014-08-08 15:57:29 -07:00
2014-07-25 17:16:55 -04:00
2014-09-19 13:23:33 +01:00
2014-07-25 17:23:25 -04:00