]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Merge branch 'bpf-test-prog-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 2 May 2017 15:46:29 +0000 (11:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 May 2017 15:46:29 +0000 (11:46 -0400)
commita481649e1c2a4900450e967165524282bbdf91e0
tree6f6d73b367e877b7c4cc14d991ea659df5959480
parent4e9c3a667135799d50f2778a8a8dae2ca13aafd0
parent586f8525979ad9574bf61637fd58c98d5077f29d
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>