net: refine debug info in skb_checksum_help()
authorEric Dumazet <edumazet@google.com>
Fri, 6 Oct 2023 17:33:54 +0000 (17:33 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Oct 2023 02:46:41 +0000 (19:46 -0700)
commit26c29961b142444cd99361644c30fa1e9b3da6be
tree1343c237a9499ce6d396a710e2428f3ab6bc9a91
parent776fe19953b0e0af00399e50fb3b205101d4b3c1
net: refine debug info in skb_checksum_help()

syzbot uses panic_on_warn.

This means that the skb_dump() I added in the blamed commit are
not even called.

Rewrite this so that we get the needed skb dump before syzbot crashes.

Fixes: eeee4b77dc52 ("net: add more debug info in skb_checksum_help()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20231006173355.2254983-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c