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

inet_sock_destruct() has four warnings which have been
useful to point to 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/ipv4/af_inet.c