summaryrefslogtreecommitdiff
path: root/drivers/oprofile
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2012-08-24 10:27:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:32:29 -0700
commit0e4765fd9c0f8df577e0b8cbea927c2051710f27 (patch)
tree865fee5c7fbeaa9dd8c2967ccea91076dfc7b4a6 /drivers/oprofile
parent350f3edb0a05c340853c75f4c5007a72ebd9e32f (diff)
IB/srp: Fix use-after-free in srp_reset_req()
commit 9b796d06d5d1b1e85ae2316a283ea11dd739ef96 upstream. srp_free_req() uses the scsi_cmnd structure contents to unmap buffers, so we must invoke srp_free_req() before we release ownership of that structure. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Acked-by: David Dillow <dillowda@ornl.gov> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions