diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-30 19:02:53 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-03 04:24:14 +0300 |
| commit | dc9fd14bd75967d039262d73189fdd123edc5dce (patch) | |
| tree | 2c534a82819d36fbc384226ae788429c1df57403 /include/uapi/linux | |
| parent | 87ef8c26ae40bbac8515f239cc02c3e08916ef4d (diff) | |
| download | linux-dc9fd14bd75967d039262d73189fdd123edc5dce.tar.xz | |
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/uapi/linux')
0 files changed, 0 insertions, 0 deletions
