Merge branch 'bpf-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 25 May 2017 17:44:29 +0000 (13:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 May 2017 17:44:29 +0000 (13:44 -0400)
commitae08ea976862dcd058af89fcddc2ef4790b4a2bd
tree0dc8e1e5384df1cdadfb109bbd191eafe24a594d
parent5990baaa6d7b437dfcf58b7021ca56b1d6b35869
parent614d0d77b49a9b131e58b77473698ab5b2c525b7
Merge branch 'bpf-fixes'

Daniel Borkmann says:

====================
Various BPF fixes

Follow-up to fix incorrect pruning when alignment tracking is
in use and to properly clear regs after call to not leave stale
data behind, also a fix that adds bpf_clone_redirect to the
bpf_helper_changes_pkt_data helper and exposes correct map_flags
for lpm map into fdinfo. For details, please see individual
patches.

v1 -> v2:
  - Reworked first patch so that env->strict_alignment is the
    final indicator on whether we have to deal with strict
    alignment rather than having CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
    checks on various locations, so only checking env->strict_alignment
    is sufficient after that. Thanks for spotting, Dave!
  - Added patch 3 and 4.
  - Rest as is.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>