diff options
author | David S. Miller <davem@davemloft.net> | 2017-05-02 17:46:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-02 17:46:29 +0200 |
commit | a481649e1c2a4900450e967165524282bbdf91e0 (patch) | |
tree | 6f6d73b367e877b7c4cc14d991ea659df5959480 /lib/test_bpf.c | |
parent | selftests: bpf: Use bpf_endian.h in test_xdp.c (diff) | |
parent | bpf: Align packet data properly in program testing framework. (diff) | |
download | linux-a481649e1c2a4900450e967165524282bbdf91e0.tar.xz linux-a481649e1c2a4900450e967165524282bbdf91e0.zip |
Merge branch 'bpf-test-prog-fixes'
I say:
====================
Fix some bpf program testing framework bugs
This series fixes two issue:
1) Accidental user pointer dereference in bpf_test_finish()
2) The packet data given to the test programs is not aligned correctly
The first issue is fixed simply because we have a kernel side copy
of the datastructure in question already. And the second bug is
a simple matter of applying NET_IP_ALIGN where needed.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions