aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/bpf/verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 1fd9667b29f1..4f4786ea2296 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -2462,7 +2462,7 @@ static int check_helper_call(struct bpf_verifier_env *env, int func_id, int insn
2462 2462
2463 /* eBPF programs must be GPL compatible to use GPL-ed functions */ 2463 /* eBPF programs must be GPL compatible to use GPL-ed functions */
2464 if (!env->prog->gpl_compatible && fn->gpl_only) { 2464 if (!env->prog->gpl_compatible && fn->gpl_only) {
2465 verbose(env, "cannot call GPL only function from proprietary program\n"); 2465 verbose(env, "cannot call GPL-restricted function from non-GPL compatible program\n");
2466 return -EINVAL; 2466 return -EINVAL;
2467 } 2467 }
2468 2468