Commit 00a4fd1
committed
bpf: add get_netns_cookie helper to tc programs
JIRA: https://issues.redhat.com/browse/RHEL-110279
commit eb62f49
Author: Mahe Tardy <mahe.tardy@gmail.com>
Date: Mon Oct 7 09:59:57 2024 +0000
bpf: add get_netns_cookie helper to tc 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/20241007095958.97442-1-mahe.tardy@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>1 parent 653d33f commit 00a4fd1
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5103 | 5103 | | |
5104 | 5104 | | |
5105 | 5105 | | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
| 5112 | + | |
| 5113 | + | |
| 5114 | + | |
| 5115 | + | |
| 5116 | + | |
5106 | 5117 | | |
5107 | 5118 | | |
5108 | 5119 | | |
| |||
8116 | 8127 | | |
8117 | 8128 | | |
8118 | 8129 | | |
| 8130 | + | |
| 8131 | + | |
8119 | 8132 | | |
8120 | 8133 | | |
8121 | 8134 | | |
| |||
0 commit comments