summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2025-05-15 08:33:06 +0200
committerJakub Kicinski <kuba@kernel.org>2025-05-16 16:35:45 -0700
commitd6d2b0e1538d5c381ec0ca95afaf772c096ea5dc (patch)
treee027645cbcc4f0d7c78e84a341645a93ed055141 /tools/perf/scripts/python
parent43f0999af011fba646e015f0bb08b6c3002a0170 (diff)
downloadkernel-d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc.tar.gz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
/td>net/smc: fix possible NULL deref in smc_pnet_add_eth()Eric Dumazet 2022-01-02net/smc: Introduce net namespace support for linkgroupTony Lu 2021-12-07net/smc: add net device tracker to struct smc_pnetentryEric Dumazet 2021-10-16net/smc: retrieve v2 gid from IB deviceKarsten Graul