Jonas Suhr Christensen [off-list ref] writes:
To avoid later calls to dma_unmap_single() on address'
that fails to be mapped, free the allocated skb and
set the pointer of the address to NULL. Eg. when a mapping
fails temac_dma_bd_release() will try to call dma_unmap_single()
on that address if the structure is not reset.
Fixes: d07c849cd2b9 ("net: ll_temac: Add more error handling of dma_map_single() calls")
Signed-off-by: Jonas Suhr Christensen <redacted>
Acked-by: Esben Haabendal <redacted>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel