]> git.baikalelectronics.ru Git - kernel.git/commit
net: add debug info to __skb_pull()
authorEric Dumazet <edumazet@google.com>
Thu, 2 Jun 2022 16:18:58 +0000 (09:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Jun 2022 17:15:05 +0000 (10:15 -0700)
commit39ee7111123435b07b09a85f25343b059ccbe406
tree0f328bfb3dc7bcc9234d882d320c15603ca94107
parent2dbb98ab83befeaea363f165a703abf04027c7a7
net: add debug info to __skb_pull()

While analyzing yet another syzbot report, I found the following
patch very useful. It allows to better understand what went wrong.

This debug info is only enabled if CONFIG_DEBUG_NET=y,
which is the case for syzbot builds.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h