]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:31:15 +0000 (16:31 +0100)
commit1320d94a4df1c429686aa17c8bde9d665d18f3ce
tree86dbd0cef40b3f5b44535e3036c7f5e10aa06ad8
parent3f5d7f3865c6fb0062e80565ca0006f3225ea74e
atm: Fix dma_free_coherent() size

commit 4d984b0574ff708e66152763fbfdef24ea40933f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/atm/he.c