From: Rob Herring Date: Fri, 30 Aug 2013 21:49:29 +0000 (-0500) Subject: net: calxedaxgmac: fix xgmac_xmit DMA mapping error handling X-Git-Tag: v3.12-rc1~132^2~1^2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92cd4253e553e87a715243a36623945edcbf1ec7;p=pandora-kernel.git net: calxedaxgmac: fix xgmac_xmit DMA mapping error handling On a DMA mapping error in xgmac_xmit, we should simply free the skb and return NETDEV_TX_OK rather than -EIO. In the case of errors in mapping frags, we need to undo everything that has been setup. Reported-by: Andreas Herrmann Signed-off-by: Rob Herring Signed-off-by: David S. Miller --- Reading git-diff-tree failed