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)
commitfe593844957a7ce092ee14e085ee8ddfd6c3b73f
tree1f41b51bac7e836294405e4b1f03594bd9bfea74
parent12c227ec89a70c14e3efcf102c5babece381e172
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