Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1199833
| From | Nicolas Schichan <nschichan@freebox.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V2 net-next 0/6] test_bpf improvements |
| Date | 2015-08-04 15:30 +0200 |
| Message-ID | <pTKs1-3mh-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello,
Please find below the patch series with my latest changes to test_bpf.
The first patch checks for unexpected NULL generated skbs before
running the filter.
The second patch adds the possibility for tests to generate fragmented
skbs.
The third patch tests LD_ABS and LD_IND on fragmented skbs.
The fourth patch adds the possibility to restrict the tests being run
by specifying the name/id/range of the test(s) to run via module
parameters.
The fifth patch tests LD_ABS and LD_IND on non fragmented skbs with
various sizes and alignments.
The sixth and final patch checks that the interpreter or JIT correctly
resets A and X to 0.
This serie is against today's net-next tree.
Changes in V2:
* move declaration of 'ptr' in if() block in patch 2/6.
* fix various typos in patch 4/6
* rework default init of test_range array and cleanup exclude_test()
return condition in patch 4/6.
Regards,
Nicolas Schichan (6):
test_bpf: avoid oopsing the kernel when generate_test_data() fails.
test_bpf: allow tests to specify an skb fragment.
test_bpf: test LD_ABS and LD_IND instructions on fragmented skbs.
test_bpf: allow running of a single test specified as a module
parameter.
test_bpf: add more tests for LD_ABS and LD_IND.
test_bpf: add tests checking that JIT/interpreter sets A and X to 0.
lib/test_bpf.c | 645 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 644 insertions(+), 1 deletion(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH V2 net-next 0/6] test_bpf improvements Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
[PATCH V2 net-next 2/6] test_bpf: allow tests to specify an skb fragment. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
[PATCH V2 net-next 4/6] test_bpf: add module parameters to filter the tests to run. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
Re: [PATCH V2 net-next 4/6] test_bpf: add module parameters to filter the tests to run. Alexei Starovoitov <ast@plumgrid.com> - 2015-08-04 17:50 +0200
[PATCH V2 net-next 6/6] test_bpf: add tests checking that JIT/interpreter sets A and X to 0. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
[PATCH V2 net-next 5/6] test_bpf: add more tests for LD_ABS and LD_IND. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
Re: [PATCH V2 net-next 0/6] test_bpf improvements David Miller <davem@davemloft.net> - 2015-08-07 07:10 +0200
csiph-web