OpenCloudOS-Kernel/drivers/net/vmxnet3
Alexey Khoroshilov 5738a09d58 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>
2015-12-01 15:19:16 -05:00
..
Makefile
upt1_defs.h vmxnet3: remove set_flag_le{16,64} helpers 2010-10-24 15:52:31 -07:00
vmxnet3_defs.h vmxnet3: Changes for vmxnet3 adapter version 2 (fwd) 2015-06-23 06:26:01 -07:00
vmxnet3_drv.c vmxnet3: fix checks for dma mapping errors 2015-12-01 15:19:16 -05:00
vmxnet3_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
vmxnet3_int.h Driver: Vmxnet3: Fix use of mfTableLen for big endian architectures 2015-11-16 15:06:47 -05:00