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)
commitc59f02f848672f92bcea90306240822239d68049
tree23bf4824583b0cba26e9c12a7b79411dc79c1062
parent3e7f2b8d30883f27ab1157bf3f23f30f1a07bf69
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