From: andrea.merello Date: Wed, 5 Feb 2014 21:38:06 +0000 (+0100) Subject: rtl8180: Add error check for pci_map_single return value in TX path X-Git-Tag: v3.14-rc3~36^2~27^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=348f7d4adee97f222e3ad9ff97956ca3793d11c6;p=pandora-kernel.git rtl8180: Add error check for pci_map_single return value in TX path Orignal code will not detect a DMA mapping failure, causing the HW to attempt a DMA from an invalid address. This patch add the error check and eventually simply drops the TX packet if we can't map it for DMA. Signed-off-by: andrea merello Signed-off-by: John W. Linville --- Reading git-diff-tree failed