]> git.baikalelectronics.ru Git - kernel.git/commit
test_bpf: Add backward jump test case
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Fri, 22 May 2015 15:36:40 +0000 (08:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2015 19:10:51 +0000 (15:10 -0400)
commita81a2554cfbbe17cdad28aade180eb99e33621b5
tree1f41b51bac7e836294405e4b1f03594bd9bfea74
parent722145b5696a47d82397c81ca6a810c7c7df8392
test_bpf: Add backward jump test case

Currently the testsuite does not have a test case with a backward jump.
The s390x JIT (kernel 4.0) had a bug in that area.
So add one new test case for this now.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_bpf.c