aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
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:35:57 -0700
commit7bc5c2ef73f5e090c49f9439243aaf960133e58a (patch)
tree7393fa34062dc7e83e89d048432092919fbd0c18 /lib/mpi/mpi-inline.h
parente0951902a4663b4fb590c1ed8d78aa56a3760d1b (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 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions