]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla2xxx: edif: Fix dma_free_coherent() size
authorThomas Fourier <fourier.thomas@gmail.com>
Mon, 12 Jan 2026 13:43:24 +0000 (14:43 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 24 Jan 2026 03:31:56 +0000 (22:31 -0500)
commit56bd3c0f749f45793d1eae1d0ddde4255c749bf6
tree2ae2b143d1a6b2627f66d9ef938566b81ab3d9fc
parent19bc5f2a6962dfaa0e32d0e0bc2271993d85d414
scsi: qla2xxx: edif: Fix dma_free_coherent() size

Earlier in the function, the ha->flt buffer is allocated with size
sizeof(struct qla_flt_header) + FLT_REGIONS_SIZE but freed in the error
path with size SFP_DEV_SIZE.

Fixes: 84318a9f01ce ("scsi: qla2xxx: edif: Add send, receive, and accept for auth_els")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://patch.msgid.link/20260112134326.55466-2-fourier.thomas@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c