diff options
author | 2017-09-22 15:32:44 -0500 | |
---|---|---|
committer | 2017-09-25 16:34:29 -0700 | |
commit | a93ad944f4ff9a797abff17c73fc4b1e4a1d9141 (patch) | |
tree | f19fb521b0796cc2af5ff3b3e20a148ca3a3f564 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'l2tp-fix-some-races-in-session-deletion' (diff) | |
download | wireguard-linux-a93ad944f4ff9a797abff17c73fc4b1e4a1d9141.tar.xz wireguard-linux-a93ad944f4ff9a797abff17c73fc4b1e4a1d9141.zip |
net: qcom/emac: specify the correct size when mapping a DMA buffer
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions