commit | 86bf1721b2263607588b23b22e78c971379972b5 | [log] [tgz] |
---|---|---|
author | Nicolas Schichan <nschichan@freebox.fr> | Tue Aug 04 15:19:12 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 06 22:02:32 2015 -0700 |
tree | 9acb2cba6d4a3dcb56a3a1d672984e86ce1d277c | |
parent | 08fcb08fc06758411d099bcd6a60d6cdee2d50a7 [diff] |
test_bpf: add tests checking that JIT/interpreter sets A and X to 0. It is mandatory for the JIT or interpreter to reset the A and X registers to 0 before running the filter. Check that it is the case on various ALU and JMP instructions. Signed-off-by: Nicolas Schichan <nschichan@freebox.fr> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>