From: Ezequiel Garcia Date: Fri, 30 May 2014 16:40:06 +0000 (-0300) Subject: net: mvneta: Fix missing DMA region unmap X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~94^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba7e46ef9d4550f76efb70739728c50bbf94c3a9;p=pandora-kernel.git net: mvneta: Fix missing DMA region unmap The Tx descriptor release code currently calls dma_unmap_single() and dev_kfree_skb_any() if the descriptor is associated with a non-NULL skb. This is true only for the last fragment of the packet. This is wrong, however, since every descriptor buffer is DMA mapped and needs to be unmapped. Signed-off-by: Ezequiel Garcia Signed-off-by: David S. Miller --- Reading git-diff-tree failed