]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
firewire: nosy: Fix dma_free_coherent() size
authorThomas Fourier <fourier.thomas@gmail.com>
Tue, 16 Dec 2025 16:54:18 +0000 (17:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:11:54 +0000 (13:11 +0100)
commitfb09a8f08ccd4814a468d72bdecc536ab715f3eb
treea025f3fe79f0022fd0e5c0e8502684af3612b40e
parentde8b3d3c5975a1580d1fec9d0697dd43b508af81
firewire: nosy: Fix dma_free_coherent() size

[ Upstream commit c48c0fd0e19684b6ecdb4108a429e3a4e73f5e21 ]

It looks like the buffer allocated and mapped in add_card() is done
with size RCV_BUFFER_SIZE which is 16 KB and 4KB.

Fixes: 286468210d83 ("firewire: new driver: nosy - IEEE 1394 traffic sniffer")
Co-developed-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Co-developed-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20251216165420.38355-2-fourier.thomas@gmail.com
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firewire/nosy.c