linux/arch/arm/net
Nicolas Schichan 6d715e301e ARM: net: handle negative offsets in BPF JIT.
Previously, the JIT would reject negative offsets known during code
generation and mishandle negative offsets provided at runtime.

Fix that by calling bpf_internal_load_pointer_neg_helper()
appropriately in the jit_get_skb_{b,h,w} slow path helpers and by forcing
the execution flow to the slow path helpers when the offset is
negative.

Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-21 22:19:55 -07:00
..
bpf_jit_32.c ARM: net: handle negative offsets in BPF JIT. 2015-07-21 22:19:55 -07:00
bpf_jit_32.h net: bpf: arm: make hole-faulting more robust 2014-09-23 12:40:22 -04:00
Makefile