commit | abe5fc42f9ce942c96d50bf6b44886b70d5759ec | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sat Jun 20 22:38:24 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 22 16:26:02 2020 -0700 |
tree | 4e2c42fc779979a9362b8ab5fb9e8a5322df48c3 | |
parent | 567ca57faa6266da931679fd4c4eb9863855f804 [diff] |
r8169: use RTNL to protect critical sections Most relevant ops (open, close, ethtool ops) are protected with RTNL lock by net core. Make sure that such ops can't be interrupted by e.g. (runtime-)suspending by taking the RTNL lock in suspend ops and the PCI error handler. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>