Two bpf improvements: 1. allow bpf helpers like bpf_map_lookup_elem() access packet data directly for XDP programs 2. enable bpf_get_prandom_u32() for tracing programs
Aaron Yue (1): samples/bpf: add verifier tests for the helper access to the packet Alexei Starovoitov (2): bpf: allow helpers access the packet directly bpf: allow bpf_get_prandom_u32() to be used in tracing kernel/bpf/verifier.c | 61 +++++++++++++++++------- kernel/trace/bpf_trace.c | 2 + samples/bpf/test_verifier.c | 114 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 155 insertions(+), 22 deletions(-) -- 2.8.0