From: Neil Horman Date: Wed, 17 Sep 2014 13:04:44 +0000 (-0400) Subject: 3c59x: Add dma error checking and recovery X-Git-Tag: fixes-for-v3.18-merge-window~87^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f2b6a3005b2c34c39f207a87667564f64f2f91a;p=pandora-kernel.git 3c59x: Add dma error checking and recovery Noted that 3c59x has no checks on transmit for failed DMA mappings, and no ability to unmap fragments when a single map fails in the middle of a transmit. This patch provides error checking to ensure that dma mappings work properly, and unrolls an skb mapping if a fragmented skb transmission has a mapping failure to prevent leaks. Signed-off-by: Neil Horman CC: Linux Kernel list CC: "David S. Miller" CC: Meelis Roos Tested-by: Meelis Roos --- Reading git-diff-tree failed