Revert "bpf: fix is_allow_list section"

GCC was modified to use the same default section as LLVM, as such
this is no longer required.

Details:
a0aafbc324

This reverts commit e8b1e9cf10.
This commit is contained in:
James Hilliard
2022-09-30 15:42:22 -06:00
committed by Yu Watanabe
parent b88323e4e0
commit 0d73603b25

View File

@@ -6,7 +6,7 @@
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
const volatile __u8 is_allow_list SEC(".rodata") = 0;
const volatile __u8 is_allow_list = 0;
/* Map containing the network interfaces indexes.
* The interpretation of the map depends on the value of is_allow_list.