]> git.baikalelectronics.ru Git - kernel.git/commit
net: use DEBUG_NET_WARN_ON_ONCE() in skb_release_head_state()
authorEric Dumazet <edumazet@google.com>
Wed, 8 Jun 2022 16:04:36 +0000 (09:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:53:56 +0000 (21:53 -0700)
commitf9c267a1228f31e35a51117dcf0d6d9f5ec27502
treea52acb638e4a7e6fe0e3a0b3d38c838a584d77b0
parent4628d6e9b9b005c36c3f5f552e21cccd4dde5956
net: use DEBUG_NET_WARN_ON_ONCE() in skb_release_head_state()

Remove this check from fast path unless CONFIG_DEBUG_NET=y

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