aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_align.c
Commit message (Collapse)AuthorAge
* bpf: Handle multiple variable additions into packet pointers in verifier.David S. Miller2017-05-11
| | | | | | | | | We must accumulate into reg->aux_off rather than use a plain assignment. Add a test for this situation to test_align. Reported-by: Alexei Starovoitov <ast@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* bpf: Remove commented out debugging hack in test_align.David S. Miller2017-05-11
| | | | | Reported-by: Alexander Alemayhu <alexander@alemayhu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* bpf: Add verifier test case for alignment.David S. Miller2017-05-11
Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net>