summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2025-05-15 09:33:06 +0300
committerJakub Kicinski <kuba@kernel.org>2025-05-17 02:35:45 +0300
commitd6d2b0e1538d5c381ec0ca95afaf772c096ea5dc (patch)
treee027645cbcc4f0d7c78e84a341645a93ed055141 /scripts/gdb/linux
parent43f0999af011fba646e015f0bb08b6c3002a0170 (diff)
downloadlinux-d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc.tar.xz
net: airoha: Fix page recycling in airoha_qdma_rx_process()
Do not recycle the page twice in airoha_qdma_rx_process routine in case of error. Just run dev_kfree_skb() if the skb has been allocated and marked for recycling. Run page_pool_put_full_page() directly if the skb has not been allocated yet. Moreover, rely on DMA address from queue entry element instead of reading it from the DMA descriptor for DMA syncing in airoha_qdma_rx_process(). Fixes: e12182ddb6e71 ("net: airoha: Enable Rx Scatter-Gather") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20250515-airoha-fix-rx-process-error-condition-v2-1-657e92c894b9@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions