]> git.baikalelectronics.ru Git - kernel.git/commit
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
authorDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2018 01:07:02 +0000 (21:07 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2018 01:07:02 +0000 (21:07 -0400)
commit730bbbd39e7b5846c0481784c71c47e0097cb42a
treee205961458f1bd80e7ca30453c96eb5f678914cd
parentc1d5f40d322a4c165564fa313c7b276a24c67d74
parent215f022dde8d7fecea631823c70ab30174f065c8
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Daniel Borkmann says:

====================
pull-request: bpf 2018-05-14

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Fix nfp to allow zero-length BPF capabilities, meaning the nfp
   capability parsing loop will otherwise exit early if the last
   capability is zero length and therefore driver will fail to probe
   with an error such as:

     nfp: BPF capabilities left after parsing, parsed:92 total length:100
     nfp: invalid BPF capabilities at offset:92

   Fix from Jakub.

2) libbpf's bpf_object__open() may return IS_ERR_OR_NULL() and not
   just an error. Fix libbpf's bpf_prog_load_xattr() to handle that
   case as well, also from Jakub.
====================

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