summaryrefslogtreecommitdiff
path: root/include/uapi/linux/securebits.h
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2026-02-13 17:43:39 +0100
committerSasha Levin <sashal@kernel.org>2026-03-04 07:21:19 -0500
commit1e300c33ef3cc544c2b9c693778fe9490cfe9184 (patch)
tree9e0e6dcda41225aa380efd590845645c8e12b179 /include/uapi/linux/securebits.h
parent6ccfcad1b5822e514d8244c40488e3701535323e (diff)
net: ethernet: ec_bhf: Fix dma_free_coherent() dma handle
[ Upstream commit ffe68c3766997d82e9ccaf1cdbd47eba269c4aa2 ] dma_free_coherent() in error path takes priv->rx_buf.alloc_len as the dma handle. This would lead to improper unmapping of the buffer. Change the dma handle to priv->rx_buf.alloc_phys. Fixes: 6af55ff52b02 ("Driver for Beckhoff CX5020 EtherCAT master module.") Cc: <stable@vger.kernel.org> Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Link: https://patch.msgid.link/20260213164340.77272-2-fourier.thomas@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions