summaryrefslogtreecommitdiffstats
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-05-02 17:46:29 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-02 17:46:29 +0200
commita481649e1c2a4900450e967165524282bbdf91e0 (patch)
tree6f6d73b367e877b7c4cc14d991ea659df5959480 /lib/test_bpf.c
parentselftests: bpf: Use bpf_endian.h in test_xdp.c (diff)
parentbpf: Align packet data properly in program testing framework. (diff)
downloadlinux-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