• D
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf · 661e4e33
    David S. Miller 提交于
    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: NDavid S. Miller <davem@davemloft.net>
    661e4e33
bpf.h 18.2 KB