Daniel Borkmann d50bc15750 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>
2014-06-01 22:16:58 -07:00
..
2013-09-10 13:03:41 -07:00
2013-03-13 15:21:48 -07:00
2014-06-01 21:58:02 -07:00
2012-10-06 03:04:57 +09:00
2014-04-07 16:36:07 -07:00
2012-10-09 16:22:40 +09:00
2013-06-18 13:48:45 +02:00
2014-05-12 00:23:55 -04:00
2013-04-29 18:28:42 -07:00
2014-04-03 16:21:07 -07:00