diff options
| author | Michal Luczaj <mhal@rbox.co> | 2026-08-13 14:41:59 +0200 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-08-17 10:22:03 +0200 |
| commit | 3c3d2c09ec4e11bf7f5419163643b3b02d3f5add (patch) | |
| tree | 01222ba0a1c789916982729ca7a2ecc8498bba0f /tools/perf/scripts/python/syscall-counts.py | |
| parent | d99bda7f017b47aff45accbb321facba9f7dd799 (diff) | |
bpf: Extract shared reqsk-to-listener upgrade
__bpf_sk_lookup() and bpf_sk_lookup() duplicate the same sk_to_full_sk()
reqsk-to-listener upgrade. Extract it into a helper. Leave the currently
unreachable WARN_ONCE as a defensive assert. No functional change.
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/20260813-sockmap-lookup-get-ref-v1-1-31f5d55f44ac@rbox.co
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
