diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-30 16:02:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-02 17:24:14 -0800 |
| commit | dc9fd14bd75967d039262d73189fdd123edc5dce (patch) | |
| tree | 2c534a82819d36fbc384226ae788429c1df57403 /include/linux/etherdevice.h | |
| parent | 87ef8c26ae40bbac8515f239cc02c3e08916ef4d (diff) | |
net: add a debug check in __skb_push()
Add the following check, to detect bugs sooner for CONFIG_DEBUG_NET=y
builds.
DEBUG_NET_WARN_ON_ONCE(skb->data < skb->head);
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260130160253.2936789-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/etherdevice.h')
0 files changed, 0 insertions, 0 deletions
