aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/net
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-05-29 10:22:49 +0200
committerDavid S. Miller <davem@davemloft.net>2014-06-01 22:16:58 -0700
commitd50bc1575096250aa37f17299c86ea548156efe8 (patch)
treef606b52b3a98a9a3a9514dcf774cdff0b83b3499 /arch/sparc/net
parentnet: filter: add slot overlapping test with fully filled M[] (diff)
downloadlinux-dev-d50bc1575096250aa37f17299c86ea548156efe8.tar.xz
linux-dev-d50bc1575096250aa37f17299c86ea548156efe8.zip
net: filter: add test for loading SKF_AD_OFF limits
This check tests that overloading BPF_LD | BPF_ABS with an always invalid BPF extension, that is SKF_AD_MAX, fails to make sure classic BPF behaviour is correct in filter checker. Also, we add a test for loading at packet offset SKF_AD_OFF-1 which should pass the filter, but later on fail during runtime. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/net')
0 files changed, 0 insertions, 0 deletions