diff options
Diffstat (limited to 'kernel/bpf/core.c')
-rw-r--r-- | kernel/bpf/core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index e4248fe79513..d781b077431f 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c | |||
@@ -794,6 +794,11 @@ void __weak bpf_int_jit_compile(struct bpf_prog *prog) | |||
794 | { | 794 | { |
795 | } | 795 | } |
796 | 796 | ||
797 | bool __weak bpf_helper_changes_skb_data(void *func) | ||
798 | { | ||
799 | return false; | ||
800 | } | ||
801 | |||
797 | /* To execute LD_ABS/LD_IND instructions __bpf_prog_run() may call | 802 | /* To execute LD_ABS/LD_IND instructions __bpf_prog_run() may call |
798 | * skb_copy_bits(), so provide a weak definition of it for NET-less config. | 803 | * skb_copy_bits(), so provide a weak definition of it for NET-less config. |
799 | */ | 804 | */ |