mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
ANDROID: bpf: fix export symbol type
In commit ff5bf35998 ("ANDROID: bpf: validate bpf_func when BPF_JIT is
enabled with CFI") a new symbol was exported, but it should have been
set as a _GPL symbol.
Fix this up by properly.
Bug: 145210207
Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7239bb8e0ef329cd7eac6afcd06c341b17ea680b
This commit is contained in:
parent
c736c6b27a
commit
ec92c28632
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ bool __weak arch_bpf_jit_check_func(const struct bpf_prog *prog)
|
|||
{
|
||||
return true;
|
||||
}
|
||||
EXPORT_SYMBOL(arch_bpf_jit_check_func);
|
||||
EXPORT_SYMBOL_GPL(arch_bpf_jit_check_func);
|
||||
#endif
|
||||
|
||||
struct bpf_binary_header *
|
||||
|
|
|
|||
Loading…
Reference in a new issue