mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 11:01:38 +00:00
cde66c2d88
Only classic BPF programs that have been converted to eBPF need to clear the A and X registers. We can check for converted programs with: bpf_prog->type == BPF_PROG_TYPE_UNSPEC So add the check and skip initialization for real eBPF programs. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bpf_jit_comp.c | ||
bpf_jit.h | ||
bpf_jit.S | ||
Makefile |