Commit c221d374 authored by Mahe Tardy's avatar Mahe Tardy Committed by Alexei Starovoitov
Browse files

bpf: add get_netns_cookie helper to cgroup_skb programs



This is needed in the context of Cilium and Tetragon to retrieve netns
cookie from hostns when traffic leaves Pod, so that we can correlate
skb->sk's netns cookie.

Signed-off-by: default avatarMahe Tardy <mahe.tardy@gmail.com>
Link: https://lore.kernel.org/r/20250225125031.258740-1-mahe.tardy@gmail.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 4e4136c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment