Skip to content
Commit cec08315 authored by Alexei Starovoitov's avatar Alexei Starovoitov Committed by David S. Miller
Browse files

sparc: bpf_jit: add support for BPF_LD(X) | BPF_LEN instructions



BPF_LD | BPF_W | BPF_LEN instruction is occasionally used by tcpdump
and present in 11 tests in lib/test_bpf.c
Teach sparc JIT compiler to emit it.

Signed-off-by: default avatarAlexei Starovoitov <ast@plumgrid.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0a29b3da
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment