Re: [BUG] net: sungem: device driver frees DMA memory with wrong function
From: David Miller <davem@davemloft.net>
Date: 2018-12-24 22:39:49
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2018-12-24 22:39:49
Also in:
lkml
From: Corentin Labbe <clabbe.montjoie@gmail.com> Date: Sun, 23 Dec 2018 20:38:21 +0100
During a boot on a qemu machine, I hit the following problem:
...
After some pr_info, I found that the function triggering this is the pci_unmap_page() in gem_tx(). So clearly this WARNING() is strange since it says "unmapped as single".
I also went through the code paths and this makes no sense to me either.