diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-05-10 11:15:42 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-05-11 13:05:07 +0200 |
commit | fef99e840d465bad6549dd8775a5f967a711d171 (patch) | |
tree | c8fb61a4125ef02e02c3c6d4935f798e458a14d5 /crypto/geniv.c | |
parent | ccce324dabfe2143519daf50ed8b1ef1d0c542f7 (diff) |
net: mvneta: fix transmit path dma-unmapping on error
The transmit code assumes that the transmit descriptors that are used
begin with the first descriptor in the ring, but this may not be the
case. Fix this by providing a new function that dma-unmaps a range of
numbered descriptor entries, and use that to do the unmapping.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'crypto/geniv.c')
0 files changed, 0 insertions, 0 deletions