From: Ezequiel Garcia Date: Fri, 30 May 2014 16:40:07 +0000 (-0300) Subject: net: mvneta: Avoid unmapping the TSO header buffers X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~94^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e3173a3d38bbb5e29a6a734e7366855c12efbe9;p=pandora-kernel.git net: mvneta: 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