diff options
| author | Anay Wadhera <awadhera@berkeley.edu> | 2021-05-20 21:56:46 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:49:46 +0300 |
| commit | 2c63f6f8099103a7529f831bbabd7b1073c9121f (patch) | |
| tree | d48fa9c950f84440e279a255055f4311e91b9498 /include/linux | |
| parent | fa8efd4e5634b873b21339864fac3e35d3b05aa6 (diff) | |
Revert "bpf: add bpf_patch_insn_single helper"
This reverts commit 087a92287dbae61b4ee1e76d7c20c81710109422.
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/filter.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index 677fa3b42194..ccb98b459c59 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -466,9 +466,6 @@ u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5); void bpf_int_jit_compile(struct bpf_prog *fp); bool bpf_helper_changes_skb_data(void *func); -struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, - const struct bpf_insn *patch, u32 len); - #ifdef CONFIG_BPF_JIT typedef void (*bpf_jit_fill_hole_t)(void *area, unsigned int size); |
