Re: [PATCH net-next RESEND] test_bpf: extend tests for 32-bit endianness conversion

2015-07-08 Thread David Miller
From: Xi Wang Date: Wed, 8 Jul 2015 14:00:56 -0700 > Currently "ALU_END_FROM_BE 32" and "ALU_END_FROM_LE 32" do not test if > the upper bits of the result are zeros (the arm64 JIT had such bugs). > Extend the two tests to catch this. > > Acked-by: Daniel Borkmann > Acked-by: Alexei Starovoitov

[PATCH net-next RESEND] test_bpf: extend tests for 32-bit endianness conversion

2015-07-08 Thread Xi Wang
Currently "ALU_END_FROM_BE 32" and "ALU_END_FROM_LE 32" do not test if the upper bits of the result are zeros (the arm64 JIT had such bugs). Extend the two tests to catch this. Acked-by: Daniel Borkmann Acked-by: Alexei Starovoitov Signed-off-by: Xi Wang --- See the arm64 JIT bugs: https://lkm