From: Neil Turton Date: Wed, 23 Dec 2009 13:47:13 +0000 (+0000) Subject: sfc: Fix DMA mapping cleanup in case of an error in TSO X-Git-Tag: v2.6.33-rc3~44^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ebd27a13757248863cd61e541af7fa9e7727ee;p=pandora-kernel.git sfc: Fix DMA mapping cleanup in case of an error in TSO We need buffer->len to remain valid to work out the correct address to be unmapped. We therefore need to clear buffer->len after the unmap operation. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed