]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'net-few-debug-refinements'
authorJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:54:00 +0000 (21:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:54:01 +0000 (21:54 -0700)
Eric Dumazet says:

====================
net: few debug refinements

Adopt DEBUG_NET_WARN_ON_ONCE() or WARN_ON_ONCE()
in some places where it makes sense.

Add checks in napi_consume_skb() and __napi_alloc_skb()

Make sure napi_get_frags() does not use page fragments
for skb->head.
====================

Link: https://lore.kernel.org/r/20220608160438.1342569-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge