diff options
Diffstat (limited to 'kernel/bpf')
-rw-r--r-- | kernel/bpf/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 0d69449acbd0..669719ccc9ee 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/syscall.c | |||
@@ -419,6 +419,7 @@ void bpf_prog_put(struct bpf_prog *prog) | |||
419 | bpf_prog_free(prog); | 419 | bpf_prog_free(prog); |
420 | } | 420 | } |
421 | } | 421 | } |
422 | EXPORT_SYMBOL_GPL(bpf_prog_put); | ||
422 | 423 | ||
423 | static int bpf_prog_release(struct inode *inode, struct file *filp) | 424 | static int bpf_prog_release(struct inode *inode, struct file *filp) |
424 | { | 425 | { |
@@ -466,6 +467,7 @@ struct bpf_prog *bpf_prog_get(u32 ufd) | |||
466 | fdput(f); | 467 | fdput(f); |
467 | return prog; | 468 | return prog; |
468 | } | 469 | } |
470 | EXPORT_SYMBOL_GPL(bpf_prog_get); | ||
469 | 471 | ||
470 | /* last field in 'union bpf_attr' used by this command */ | 472 | /* last field in 'union bpf_attr' used by this command */ |
471 | #define BPF_PROG_LOAD_LAST_FIELD log_buf | 473 | #define BPF_PROG_LOAD_LAST_FIELD log_buf |