commit | 065df159ec588630a360a689e4e3043c6622a6e9 | [log] [tgz] |
---|---|---|
author | Govindarajulu Varadarajan <_govind@gmx.com> | Wed Dec 24 15:59:37 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 31 13:08:45 2014 -0500 |
tree | 86aefb07acfcf6b7266fe1c26af0891cc51cdfa9 | |
parent | 5e32066d0085af3c53834323c90b7c69a8f788f6 [diff] |
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 <jstancek@redhat.com> Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>