]> git.karo-electronics.de Git - linux-beck.git/commitdiff
e1000: Fix DMA mapping error handling on RX
authorAnton Blanchard <anton@samba.org>
Fri, 19 Feb 2010 17:54:53 +0000 (17:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Feb 2010 09:24:59 +0000 (01:24 -0800)
Check for error return from pci_map_single/pci_map_page and clean up.

With this and the previous patch the driver was able to handle a significant
percentage of errors (I set the fault injection rate to 10% and could still
download large files at a reasonable speed).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found