Files
linux-stable-mirror/include
Eric DumazetandGreg Kroah-Hartman fcbda653b5 net: add skb_header_pointer_careful() helper
[ Upstream commit 13e00fdc92 ]

This variant of skb_header_pointer() should be used in contexts
where @offset argument is user-controlled and could be negative.

Negative offsets are supported, as long as the zone starts
between skb->head and skb->data.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260128141539.3404400-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: cabd1a9763 ("net/sched: cls_u32: use skb_header_pointer_careful()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-02-11 13:39:14 +01:00
..
2026-01-17 16:30:00 +01:00