]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: filter: add slot overlapping test with fully filled M[]
authorDaniel Borkmann <dborkman@redhat.com>
Thu, 29 May 2014 08:22:48 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jun 2014 05:16:57 +0000 (22:16 -0700)
commit9fe13baad6b1e8d3063dd48faf1b9be9b7c5e92c
tree8c349d7ebf41449564655c48165e0d985b4c6702
parent019ee792d7861fde33e6c2331a8b32a2b975e865
net: filter: add slot overlapping test with fully filled M[]

Also add a test for the scratch memory store that first fills
all slots and then sucessively reads all of them back adding
up to A, and eventually returning A. This and the previous
M[] test with alternating fill/spill will detect possible JIT
errors on M[].

Suggested-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_bpf.c