[PATCH net v2 0/2] Fix dma leaking

Jonas Suhr Christensen jsc at umbraculum.org
Sun Feb 5 12:11:26 PST 2023


This patch series fixes an error in the ll_temac driver releated to
dma mapping.

The main change adds missing conversion of address when unampping
dma.

Changes in v2:
  - Fix wrong (static) indexing when iterating in for-loop
  - Variable declaration order longest to shortest
  - Add fixes tags
  - improve commit message 

Jonas Suhr Christensen (2):
  net: ll_temac: Fix DMA resources leak
  net: ll_temac: Reset buffer on dma_map_single() errors

 drivers/net/ethernet/xilinx/ll_temac_main.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

-- 
2.39.1




More information about the linux-arm-kernel mailing list