Skip to content
Commit a7ebd27a authored by Neil Turton's avatar Neil Turton Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a355020a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment