diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-03-20 21:40:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-20 19:01:41 -0700 |
commit | f658b90977d2e79822a558e48116e059a7e75dec (patch) | |
tree | c2cd4502642032b66a622af4edb1cf3db220a0af /Kbuild | |
parent | 49371a8a66ac2f78afe9101b5836190b8b668fff (diff) | |
download | linux-stable-f658b90977d2e79822a558e48116e059a7e75dec.tar.gz linux-stable-f658b90977d2e79822a558e48116e059a7e75dec.tar.bz2 linux-stable-f658b90977d2e79822a558e48116e059a7e75dec.zip |
r8169: fix DMA being used after buffer free if WoL is enabled
IOMMU errors have been reported if WoL is enabled and interface is
brought down. It turned out that the network chip triggers DMA
transfers after the DMA buffers have been freed. For WoL to work we
need to leave rx enabled, therefore simply stop the chip from being
a DMA busmaster.
Fixes: 567ca57faa62 ("r8169: add rtl8169_up")
Tested-by: Paul Blazejowski <paulb@blazebox.homeip.net>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions