diff options
author | Amir Vadai | 2013-08-21 10:08:58 +0300 |
---|---|---|
committer | David S. Miller | 2013-08-21 12:19:26 -0700 |
commit | 237a3a3b1544574ead3dc459063424de8c0319e0 (patch) | |
tree | 813670497a0922ae11c17bb23e05287b1ff12f39 /fs/xfs | |
parent | bd2f631d7c60502e24e801a3eea1806868951bcc (diff) |
net/mlx4_en: Fix handling of dma_map failure
Result of skb_frag_dma_map() and dma_map_single() wasn't checked.
Added a check and proper handling in case of failure.
Moved the mapping to the beginning of mlx4_en_xmit(), before updating
the ring data structure to make error handling easier.
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions