diff options
author | Raghava Aditya Renukunta | 2017-02-16 21:51:14 +0100 |
---|---|---|
committer | Martin K. Petersen | 2017-02-23 00:41:41 +0100 |
commit | 1bff5abca65d4b9761fcc992ab6288243220003d (patch) | |
tree | 479661ca0801fdcdc873c734ca4a81e2dc6d4220 /drivers/scsi/aacraid/aacraid.h | |
parent | scsi: aacraid: Prevent E3 lockup when deleting units (diff) | |
download | kernel-qcow2-linux-1bff5abca65d4b9761fcc992ab6288243220003d.tar.gz kernel-qcow2-linux-1bff5abca65d4b9761fcc992ab6288243220003d.tar.xz kernel-qcow2-linux-1bff5abca65d4b9761fcc992ab6288243220003d.zip |
scsi: aacraid: Fix memory leak in fib init path
aac_fib_map_free frees misaligned fib dma memory, additionally it does not
free up the whole memory.
Fixed by changing the code to free up the correct and full memory
allocation.
Cc: stable@vger.kernel.org
Fixes: e8b12f0fb835223 ([SCSI] aacraid: Add new code for PMC-Sierra's SRC based controller family)
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Reviewed-by: David Carroll <David.Carroll@microsemi.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
0 files changed, 0 insertions, 0 deletions