diff options
author | David S. Miller <davem@davemloft.net> | 2017-05-02 11:46:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-02 11:46:29 -0400 |
commit | a481649e1c2a4900450e967165524282bbdf91e0 (patch) | |
tree | 6f6d73b367e877b7c4cc14d991ea659df5959480 /lib/test_bpf.c | |
parent | 4e9c3a667135799d50f2778a8a8dae2ca13aafd0 (diff) | |
parent | 586f8525979ad9574bf61637fd58c98d5077f29d (diff) |
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 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions