]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
atm: Fix dma_free_coherent() size
authorThomas Fourier <fourier.thomas@gmail.com>
Wed, 7 Jan 2026 09:01:36 +0000 (10:01 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Jan 2026 16:47:32 +0000 (08:47 -0800)
commit4d984b0574ff708e66152763fbfdef24ea40933f
tree6ecc7b27cf5c14515c4ec8a4dee7feb61ed6e182
parent790792ebc9603a7ccbf6996cb537d89607e3a75b
atm: Fix dma_free_coherent() size

The size of the buffer is not the same when alloc'd with
dma_alloc_coherent() in he_init_tpdrq() and freed.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://patch.msgid.link/20260107090141.80900-2-fourier.thomas@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/he.c