diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-28 14:15:38 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-11 13:41:54 +0100 |
| commit | 9b186feb752674f98abc77520a8d63f7063779c6 (patch) | |
| tree | 02c106e696ddee883ede645b7fb5160389e31fa4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f8611a7981cd0b42c7ce4b0ab93e3b9c646a01ec (diff) | |
net: add skb_header_pointer_careful() helper
[ Upstream commit 13e00fdc9236bd4d0bff4109d2983171fbcb74c4 ]
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: cabd1a976375 ("net/sched: cls_u32: use skb_header_pointer_careful()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
