diff options
author | Eric Dumazet <edumazet@google.com> | 2019-05-16 08:09:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-16 14:25:58 -0700 |
commit | d7c04b05c9ca14c55309eb139430283a45c4c25f (patch) | |
tree | 430f3db330f5830a4ccbfb0747d605b2c9ca43fa /net/key | |
parent | e3a9f61b7ec3fd49227c3558d5ea897b75212871 (diff) | |
download | linux-d7c04b05c9ca14c55309eb139430283a45c4c25f.tar.gz linux-d7c04b05c9ca14c55309eb139430283a45c4c25f.tar.bz2 linux-d7c04b05c9ca14c55309eb139430283a45c4c25f.zip |
net: avoid weird emergency message
When host is under high stress, it is very possible thread
running netdev_wait_allrefs() returns from msleep(250)
10 seconds late.
This leads to these messages in the syslog :
[...] unregister_netdevice: waiting for syz_tun to become free. Usage count = 0
If the device refcount is zero, the wait is over.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions