test_bpf: test LD_ABS and LD_IND instructions on fragmented skbs.
authorNicolas Schichan <nschichan@freebox.fr>
Tue, 4 Aug 2015 13:19:09 +0000 (15:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 05:02:32 +0000 (22:02 -0700)
commit2cf1ad759307f4ef2a27a59f3071e357ec487841
tree1ec47b27afcec07f6b9a50765b3e8aa701e32e47
parentbac142acb90e952899cb8204fad12ef7d1e42f94
test_bpf: test LD_ABS and LD_IND instructions on fragmented skbs.

These new tests exercise various load sizes and offsets crossing the
head/fragment boundary.

Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Acked-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