diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2014-07-24 19:38:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-25 02:27:17 -0400 |
commit | 2695fb552cbef1029aa025a98acb80cc51d66de5 (patch) | |
tree | c291280a14b5e77e729237fdb4d1c44544fc777c /arch/x86/net/bpf_jit_comp.c | |
parent | dd66d386552ad3687530c1bd0e001e96a060cc0f (diff) |
net: filter: rename 'struct sock_filter_int' into 'struct bpf_insn'
eBPF is used by socket filtering, seccomp and soon by tracing and
exposed to userspace, therefore 'sock_filter_int' name is not accurate.
Rename it to 'bpf_insn'
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/net/bpf_jit_comp.c')
-rw-r--r-- | arch/x86/net/bpf_jit_comp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/net/bpf_jit_comp.c b/arch/x86/net/bpf_jit_comp.c index 99bef86ed6df..71737a83f022 100644 --- a/arch/x86/net/bpf_jit_comp.c +++ b/arch/x86/net/bpf_jit_comp.c | |||
@@ -214,7 +214,7 @@ struct jit_context { | |||
214 | static int do_jit(struct sk_filter *bpf_prog, int *addrs, u8 *image, | 214 | static int do_jit(struct sk_filter *bpf_prog, int *addrs, u8 *image, |
215 | int oldproglen, struct jit_context *ctx) | 215 | int oldproglen, struct jit_context *ctx) |
216 | { | 216 | { |
217 | struct sock_filter_int *insn = bpf_prog->insnsi; | 217 | struct bpf_insn *insn = bpf_prog->insnsi; |
218 | int insn_cnt = bpf_prog->len; | 218 | int insn_cnt = bpf_prog->len; |
219 | u8 temp[64]; | 219 | u8 temp[64]; |
220 | int i; | 220 | int i; |