linux/drivers/net/vmxnet3
hpreg@vmware.com 4781c6209b vmxnet3: set the DMA mask before the first DMA map operation
commit 61aeecea40 upstream.

The DMA mask must be set before, not after, the first DMA map operation, or
the first DMA map operation could in theory fail on some systems.

Fixes: b0eb57cb97 ("VMXNET3: Add support for virtual IOMMU")
Signed-off-by: Regis Duchesne <hpreg@vmware.com>
Acked-by: Ronak Doshi <doshir@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.16: Bump version from 1.2.1.0-k to 1.2.2.0-k, which
 wasn't used in mainline]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-10-21 08:46:08 +01:00
..
Makefile net: VMware virtual Ethernet NIC driver: vmxnet3 2009-10-13 00:15:51 -07:00
upt1_defs.h vmxnet3: remove set_flag_le{16,64} helpers 2010-10-24 15:52:31 -07:00
vmxnet3_defs.h vmxnet3: remove set_flag_le{16,64} helpers 2010-10-24 15:52:31 -07:00
vmxnet3_drv.c vmxnet3: set the DMA mask before the first DMA map operation 2018-10-21 08:46:08 +01:00
vmxnet3_ethtool.c vmxnet3: adjust ring sizes when interface is down 2014-06-16 21:26:40 -07:00
vmxnet3_int.h vmxnet3: set the DMA mask before the first DMA map operation 2018-10-21 08:46:08 +01:00