]> 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)
commit94276851f61775890619ee8584d4c582e55f1bf6
tree23bf4824583b0cba26e9c12a7b79411dc79c1062
parentc5e43c39aa3b4c23296257039a34a2bf7e1b0d6b
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