aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cisco/enic/enic_ethtool.c
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan <_govind@gmx.com>2014-12-24 15:59:37 +0530
committerDavid S. Miller <davem@davemloft.net>2014-12-31 13:08:45 -0500
commit065df159ec588630a360a689e4e3043c6622a6e9 (patch)
tree86aefb07acfcf6b7266fe1c26af0891cc51cdfa9 /drivers/net/ethernet/cisco/enic/enic_ethtool.c
parentenic: make vnic_wq_buf doubly linked (diff)
downloadlinux-dev-065df159ec588630a360a689e4e3043c6622a6e9.tar.xz
linux-dev-065df159ec588630a360a689e4e3043c6622a6e9.zip
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>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/enic_ethtool.c')
0 files changed, 0 insertions, 0 deletions