diff options
| author | Pan Bian <bianpan2016@163.com> | 2019-11-05 17:25:27 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-23 08:18:41 +0100 |
| commit | d85074fe9e4bbfa81beb783c5f621ef56b668b5f (patch) | |
| tree | b56dd84569df7561037ef98a13241d1ddc180dbe /scripts/gdb/linux/symbols.py | |
| parent | 9024e1153d68580e72a88500af807c8824073ca3 (diff) | |
scsi: qla4xxx: fix double free bug
commit 3fe3d2428b62822b7b030577cd612790bdd8c941 upstream.
The variable init_fw_cb is released twice, resulting in a double free
bug. The call to the function dma_free_coherent() before goto is removed to
get rid of potential double free.
Fixes: 2a49a78ed3c8 ("[SCSI] qla4xxx: added IPv6 support.")
Link: https://lore.kernel.org/r/1572945927-27796-1-git-send-email-bianpan2016@163.com
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions
