summaryrefslogtreecommitdiff
path: root/net/core/hwbm.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-05-16 08:09:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-25 18:26:43 +0200
commit350d6591c9670767e1002919dc866c83dddfc806 (patch)
treed2d6857fc9cadbe82541915f35265f5b1e2eb1ab /net/core/hwbm.c
parenta5f56b52c878585b12b8bc37f737dcce4a660c64 (diff)
net: avoid weird emergency message
[ Upstream commit d7c04b05c9ca14c55309eb139430283a45c4c25f ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/hwbm.c')
0 files changed, 0 insertions, 0 deletions