diff options
| author | Bart Van Assche <[email protected]> | 2012-08-24 10:27:54 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2012-10-01 03:36:47 +0000 |
| commit | 9b796d06d5d1b1e85ae2316a283ea11dd739ef96 (patch) | |
| tree | bc3a48847b26bc54d3d87f0ae6d264a0ed4ff681 /drivers/infiniband/hw/mlx4/alias_GUID.c | |
| parent | Linux 3.6-rc7 (diff) | |
| download | kernel-9b796d06d5d1b1e85ae2316a283ea11dd739ef96.tar.gz kernel-9b796d06d5d1b1e85ae2316a283ea11dd739ef96.zip | |
IB/srp: Fix use-after-free in srp_reset_req()
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 <[email protected]>
Acked-by: David Dillow <[email protected]>
Cc: <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions
