]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'filter-next'
authorDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2014 04:25:51 +0000 (00:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2014 04:25:51 +0000 (00:25 -0400)
commitfe886687332394adfe4b4f075caca28f2ac146c6
treeaa3f671c1be28e93a6951e51fc669fb32520d89b
parent4cff2a23643e9fd460853e0b6d03480637a90703
parent3a05adf6bf5e3ea31f9c22c450d8666682ad1c55
Merge branch 'filter-next'

Alexei Starovoitov says:

====================
BPF testsuite and cleanup

This patchset adds BPF testsuite and improves readability of classic
to internal BPF converter.

The testsuite helped to find 'negative offset bug' in x64 JIT that was
fixed by commit 864eb362 ("x86: bpf_jit: support negative offsets")

It can be very useful for classic and internal JIT compiler developers.
Also it serves as performance benchmark.

x86_64/i386 pass all tests with and without JIT. arm32 JIT is failing
negative offset tests which are unsupported.

Internal BPF tests are much larger than classic tests to cover different
combinations of registers. Negative tests check correctness of classic
BPF verifier which must reject them.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>