netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull-request: bpf 2018-05-14
@ 2018-05-14  0:47 Daniel Borkmann
  2018-05-14  1:07 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Borkmann @ 2018-05-14  0:47 UTC (permalink / raw)
  To: davem; +Cc: daniel, ast, netdev

Hi David,

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.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

----------------------------------------------------------------

The following changes since commit 3148dedfe79e422f448a10250d3e2cdf8b7ee617:

  r8169: fix powering up RTL8168h (2018-05-08 22:54:18 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git 

for you to fetch changes up to 3597683c9da602b0440c5f742d64fa5da79cc026:

  tools: bpf: handle NULL return in bpf_prog_load_xattr() (2018-05-11 00:20:53 +0200)

----------------------------------------------------------------
Jakub Kicinski (2):
      nfp: bpf: allow zero-length capabilities
      tools: bpf: handle NULL return in bpf_prog_load_xattr()

 drivers/net/ethernet/netronome/nfp/bpf/main.c | 2 +-
 tools/lib/bpf/libbpf.c                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pull-request: bpf 2018-05-14
  2018-05-14  0:47 pull-request: bpf 2018-05-14 Daniel Borkmann
@ 2018-05-14  1:07 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-05-14  1:07 UTC (permalink / raw)
  To: daniel; +Cc: ast, netdev

From: Daniel Borkmann <daniel@iogearbox.net>
Date: Mon, 14 May 2018 02:47:10 +0200

> 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.
> 
> Please consider pulling these changes from:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-14  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14  0:47 pull-request: bpf 2018-05-14 Daniel Borkmann
2018-05-14  1:07 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).