Files
linux-stable-mirror/include/linux
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
..
2025-05-09 09:43:58 +02:00
2025-11-02 22:14:42 +09:00
2025-09-11 17:20:27 +02:00
2024-12-14 19:59:58 +01:00
2026-01-11 15:22:07 +01:00
2025-07-06 11:00:16 +02:00
2025-02-08 09:52:02 +01:00
2025-01-09 13:31:41 +01:00
2026-01-11 15:21:37 +01:00
2025-08-15 12:08:42 +02:00
2025-01-23 17:21:12 +01:00
2026-01-11 15:21:52 +01:00
2025-01-09 13:31:41 +01:00
2025-02-01 18:37:51 +01:00
2025-02-27 04:10:50 -08:00
2025-08-01 09:47:30 +01:00
2024-10-17 15:24:23 +02:00
2026-01-11 15:22:20 +01:00
2024-11-08 16:28:26 +01:00