commit | 87ab8194303e73af2898e9e1c8b3b9bcfe91e7a9 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Thu Dec 14 21:07:27 2017 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Dec 15 09:19:36 2017 -0800 |
tree | d6536ec187e003bb6a7c87cc8acdef20e16bf6c2 | |
parent | 07aee94394547721ac168cbf4e1c09c14a5fe671 [diff] |
bpf: add test case for ld_abs and helper changing pkt data Add a test that i) uses LD_ABS, ii) zeroing R6 before call, iii) calls a helper that triggers reload of cached skb data, iv) uses LD_ABS again. It's added for test_bpf in order to do runtime testing after JITing as well as test_verifier to test that the sequence is allowed. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>