diff options
author | Anton Blanchard <anton@samba.org> | 2011-09-07 14:41:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-16 19:26:32 (GMT) |
commit | b93da27f5234198433345e40b39ff59797bc6f6e (patch) | |
tree | 96152ec145b0e749e1573a624342c27d48a6b190 /drivers/net/apne.c | |
parent | 33a48ab105a75d37021e422a0a3283241099b142 (diff) | |
download | linux-b93da27f5234198433345e40b39ff59797bc6f6e.tar.xz |
ibmveth: Fix issue with DMA mapping failure
descs[].fields.address is 32bit which truncates any dma mapping
errors so dma_mapping_error() fails to catch it.
Use a dma_addr_t to do the comparison. With this patch I was able
to transfer many gigabytes of data with IOMMU fault injection set
at 10% probability.
Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: <stable@kernel.org> # v2.6.37+
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/apne.c')
0 files changed, 0 insertions, 0 deletions