From: Ezequiel Garcia Date: Fri, 30 May 2014 16:40:11 +0000 (-0300) Subject: net: mv643xx_eth: Avoid unmapping the TSO header buffers X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~94^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b926260c05517478a53cc029035c8eb2d8ca2715;p=pandora-kernel.git net: mv643xx_eth: Avoid unmapping the TSO header buffers The buffers for the TSO headers belong to a DMA coherent region which is allocated at ndo_open() time, and released at ndo_stop() time. Therefore, and contrary to the TSO payload descriptor buffers, the TSO header buffers don't need to be unmapped. This commit adds a check to detect a TSO header buffer and explicitly prevent the unmap. Signed-off-by: Ezequiel Garcia Signed-off-by: David S. Miller --- Reading git-diff-tree failed