]> git.baikalelectronics.ru Git - kernel.git/commit
net: use WARN_ON_ONCE() in sk_stream_kill_queues()
authorEric Dumazet <edumazet@google.com>
Wed, 8 Jun 2022 16:04:34 +0000 (09:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:53:55 +0000 (21:53 -0700)
commitcbd1e313576744cea83dbb0c7561f478521a66a9
tree23bf4824583b0cba26e9c12a7b79411dc79c1062
parentc54f8515fc453a09a0a689bce9c3236d27aeed62
net: use WARN_ON_ONCE() in sk_stream_kill_queues()

sk_stream_kill_queues() has three checks which have been
useful to detect kernel bugs in the past.

However they are potentially a problem because they
could flood the syslog.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/stream.c