• David S. Miller's avatar
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf · 661e4e33
    David S. Miller authored
    Daniel Borkmann says:
    
    ====================
    pull-request: bpf 2018-01-09
    
    The following pull-request contains BPF updates for your *net* tree.
    
    The main changes are:
    
    1) Prevent out-of-bounds speculation in BPF maps by masking the
       index after bounds checks in order to fix spectre v1, and
       add an option BPF_JIT_ALWAYS_ON into Kconfig that allows for
       removing the BPF interpreter from the kernel in favor of
       JIT-only mode to make spectre v2 harder, from Alexei.
    
    2) Remove false sharing of map refcount with max_entries which
       was used in spectre v1, from Daniel.
    
    3) Add a missing NULL psock check in sockmap in order to fix
       a race, from John.
    
    4) Fix test_align BPF selftest case since a recent change in
       verifier rejects the bit-wise arithmetic on pointers
       earlier but test_align update was missing, from Alexei.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    661e4e33
Kconfig 59.3 KB