Commit 01210f0
committed
bpf: add get_netns_cookie helper to cgroup_skb programs
JIRA: https://issues.redhat.com/browse/RHEL-110279
commit c221d37
Author: Mahe Tardy <mahe.tardy@gmail.com>
Date: Tue Feb 25 12:50:30 2025 +0000
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: Mahe Tardy <mahe.tardy@gmail.com>
Link: https://lore.kernel.org/r/20250225125031.258740-1-mahe.tardy@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>1 parent 15654a7 commit 01210f0
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7996 | 7996 | | |
7997 | 7997 | | |
7998 | 7998 | | |
| 7999 | + | |
| 8000 | + | |
7999 | 8001 | | |
8000 | 8002 | | |
8001 | 8003 | | |
| |||
0 commit comments