]> git.baikalelectronics.ru Git - kernel.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)
commited36c36b81478098d1c172b837f02d827f2520f3
tree6f6d73b367e877b7c4cc14d991ea659df5959480
parent7a4453a2cf9a4e4fd474819bf8bda2d7e89ebacd
parent141104da9fd9969b877b78eb0fdac511c5e1f0d7
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>