]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'debug-net'
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2022 11:44:30 +0000 (12:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2022 11:44:30 +0000 (12:44 +0100)
commit2c9a83c8db7d4c06e3d8bebc0f73fe2f74d4c434
tree50766a68454ddebad5e7adddf4a236c72e6f5459
parent5a0ef33965fc33af23b28fb43267fe9f21bd32b1
parent21a9184a65e63b380397cca90b84fed1bc715f29
Merge branch 'debug-net'

Eric Dumazet says:

====================
net: CONFIG_DEBUG_NET and friends

This patch series is inspired by some syzbot reports
hinting that skb transport_header might be not set
in places we expect it being set.

Add a new CONFIG_DEBUG_NET option
and DEBUG_NET_WARN_ON_ONCE() helper, so that we can start
adding more sanity checks in the future.

Replace two BUG() in skb_checksum_help()
with less risky code.

v2: make first patch compile on more arches/compilers
    add the 5th patch to add more debugging in skb_checksum_help()
====================

Signed-off-by: David S. Miller <davem@davemloft.net>