From: Govindarajulu Varadarajan <_govind@gmx.com> Date: Wed, 24 Dec 2014 10:29:37 +0000 (+0530) Subject: enic: check dma_mapping_error X-Git-Tag: fixes-v4.0-rc1~150^2~318^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=065df159ec588630a360a689e4e3043c6622a6e9;p=pandora-kernel.git enic: check dma_mapping_error This patch checks for pci_dma_mapping_error() after dma mapping the data. If the dma mapping fails we remove the previously queued frags and return NETDEV_TX_OK. Reported-by: Jan Stancek Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller --- Reading git-diff-tree failed