On 12/6/23 10:56 PM, Kuniyuki Iwashima wrote:
+#define BPF_F_CURRENT_NETNS (-1)This should be already in the vmlinux.hI thought so, but the kernel robot complained ... https://lore.kernel.org/bpf/202311222353.3MM8wxm0-lkp@xxxxxxxxx/
may be the BPF_F_CURRENT_NETNS is not used in the net/core/filter.c and then not get into the vmlinux's btf...
just pass -1 for now.