When mapping the RX DMA buffers, the driver was accidentally specifying
zero for the buffer length. Under normal circumstances, SWIOTLB does not
need to allocate a bounce buffer, so the address is just mapped without
checking the size field. This is why the error was not detected earlier.
Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
||
|---|---|---|
| .. | ||
| emac | ||
| rmnet | ||
| Kconfig | ||
| Makefile | ||
| qca_7k_common.c | ||
| qca_7k_common.h | ||
| qca_7k.c | ||
| qca_7k.h | ||
| qca_debug.c | ||
| qca_debug.h | ||
| qca_spi.c | ||
| qca_spi.h | ||
| qca_uart.c | ||