summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVivian Wang <wangruikang@iscas.ac.cn>2026-03-05 14:39:38 +0800
committerJakub Kicinski <kuba@kernel.org>2026-03-06 18:58:34 -0800
commit3aa1417803c1833cbd5bacb7e6a6489a196f2519 (patch)
treef2956667fe368e26f2276dd9ba4720769d82043f /tools/perf/scripts/python
parent4245a79003adf30e67f8e9060915bd05cb31d142 (diff)
downloadlinux-3aa1417803c1833cbd5bacb7e6a6489a196f2519.tar.gz
linux-3aa1417803c1833cbd5bacb7e6a6489a196f2519.zip
net: spacemit: Fix error handling in emac_alloc_rx_desc_buffers()
Even if we get a dma_mapping_error() while mapping an RX buffer, we should still update rx_ring->head to ensure that the buffers we were able to allocate and map are used. Fix this by breaking out to the existing code after the loop, analogous to the existing handling for skb allocation failure. Fixes: bfec6d7f2001 ("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-1-e4e434d65055@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions