diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2016-05-27 13:30:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-31 11:57:42 -0700 |
commit | 7fafe803749a0c238feb5d38cb4ddee53eca5aa0 (patch) | |
tree | c68eefd3ef61022c2f23498fd8c5aebf7e424c3d /net/sctp | |
parent | 308453aa9156a3b8ee382c0949befb507a32b0c1 (diff) |
net: fec: update dirty_tx even if no skb
If dirty_tx isn't updated, then dma_unmap_single
can be called twice.
This fixes a
[ 58.420980] ------------[ cut here ]------------
[ 58.425667] WARNING: CPU: 0 PID: 377 at /home/schurig/d/mkarm/linux-4.5/lib/dma-debug.c:1096 check_unmap+0x9d0/0xab8()
[ 58.436405] fec 2188000.ethernet: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x0000000000000000] [size=66 bytes]
encountered by Holger
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Tested-by: <holgerschurig@gmail.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions