Files
linux/drivers/net
Timur Tabi 852bdea5e3 net: qcom/emac: specify the correct size when mapping a DMA buffer
[ Upstream commit a93ad944f4 ]

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: b9b17debc6 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-12 11:51:22 +02:00
..
2016-06-15 22:06:06 -07:00
2016-08-15 11:57:55 -07:00
2017-06-17 06:41:50 +02:00
2017-10-08 10:26:08 +02:00
2017-10-08 10:26:08 +02:00
2017-03-22 12:43:32 +01:00
2017-06-17 06:41:54 +02:00
2016-05-09 00:00:28 -04:00
2016-09-20 22:55:23 -04:00
2017-09-20 08:19:53 +02:00
2017-02-18 15:11:42 +01:00
2016-04-26 15:53:05 -04:00
2016-08-30 22:27:18 -07:00
2017-07-05 14:40:23 +02:00
2017-07-21 07:42:18 +02:00