diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2015-11-27 23:29:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-01 21:19:16 +0100 |
commit | 5738a09d58d5ad2871f1f9a42bf6a3aa9ece5b3c (patch) | |
tree | aa5c240ceb83e10634e33e6ca7e7dd62aff94115 /net/wireless | |
parent | wan/x25: Fix use-after-free in x25_asy_open_tty() (diff) | |
download | linux-5738a09d58d5ad2871f1f9a42bf6a3aa9ece5b3c.tar.xz linux-5738a09d58d5ad2871f1f9a42bf6a3aa9ece5b3c.zip |
vmxnet3: fix checks for dma mapping errors
vmxnet3_drv does not check dma_addr with dma_mapping_error()
after mapping dma memory. The patch adds the checks and
tries to handle failures.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Shrikrishna Khare <skhare@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions