diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2026-04-29 15:02:31 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-01 04:08:48 +0300 |
| commit | 75df490c9e8457990c8b227650f6491218ce018b (patch) | |
| tree | 776f747990728b44545c34048d7ffbbf0319a124 /include/linux/timerqueue.h | |
| parent | 7a33345153eeeda195c55f15be27074e4c3b5109 (diff) | |
| download | linux-75df490c9e8457990c8b227650f6491218ce018b.tar.xz | |
net: airoha: Move entries to queue head in case of DMA mapping failure in airoha_dev_xmit()
In order to respect the original descriptor order and avoid any
potential IOMMU fault or memory corruption, move pending queue entries
to the head of hw queue tx_list if the DMA mapping of current inflight
packet fails in airoha_dev_xmit routine.
Fixes: 3f47e67dff1f7 ("net: airoha: Add the capability to consume out-of-order DMA tx descriptors")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260429-airoha-xmit-unmap-error-path-v2-1-32e43b7c6d25@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
