From: David S. Miller Date: Wed, 11 May 2022 11:44:30 +0000 (+0100) Subject: Merge branch 'debug-net' X-Git-Tag: baikal/mips/sdk6.1~5698^2~145 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=e3a82cfd3a91d787fab6d425fe56c79d8f1ace71;p=kernel.git 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 --- e3a82cfd3a91d787fab6d425fe56c79d8f1ace71