commit | a7ebd27a13757248863cd61e541af7fa9e7727ee | [log] [tgz] |
---|---|---|
author | Neil Turton <nturton@solarflare.com> | Wed Dec 23 13:47:13 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 23 19:09:05 2009 -0800 |
tree | 0d49c2a37aed7f88dbe6cf4bf9f851901328d351 | |
parent | a355020af415947c7dee7e00a91360d11b6a9b47 [diff] |
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 <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>