mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
net: spacemit: Fix error handling in emac_tx_mem_map()
[ Upstream commit86292155be] The DMA mappings were leaked on mapping error. Free them with the existing emac_free_tx_buf() function. Fixes:bfec6d7f20("net: spacemit: Add K1 Ethernet MAC") Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Link: https://patch.msgid.link/20260305-k1-ethernet-more-fixes-v2-2-e4e434d65055@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
045545790f
commit
c34ebd7b24
1 changed files with 10 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue