Skip to contentSkip to conversation

pull-request: bpf 2018-06-12

DISCUSSION Daniel Borkmann 2 participants 2 messages Jun 11, 2018 – Jun 12, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi David,

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

The main changes are:

1) Avoid an allocation warning in AF_XDP by adding __GFP_NOWARN for the umem setup, from Björn.

2) Silence a warning in bpf fs when an application tries to open(2) a pinned bpf obj due to missing fops. Add a dummy open fop that continues to just bail out in such case, from Daniel.

3) Fix a BPF selftest urandom_read build issue where gcc complains that it gets built twice, from Anders.

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 66e58e0ef80a56a1d7857b6ce121141563cdd93e:

bpfilter: fix race in pipe access (2018-06-07 20:07:28 -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 a343993c518ce252b62ec00ac06bccfb1d17129d:

xsk: silence warning on memory allocation failure (2018-06-11 23:49:07 +0200)

----------------------------------------------------------------
Anders Roxell (1):
selftests: bpf: fix urandom_read build issue

Björn Töpel (1):
xsk: silence warning on memory allocation failure

Daniel Borkmann (1):
bpf: implement dummy fops for bpf objects

 kernel/bpf/inode.c                   | 14 ++++++++++++--
 net/xdp/xdp_umem.c                   |  3 ++-
 tools/testing/selftests/bpf/Makefile |  4 +---
 3 files changed, 15 insertions(+), 6 deletions(-)
maintainer
#1 lore raw

From: Daniel Borkmann <[email protected]>
Date: Tue, 12 Jun 2018 01:59:56 +0200

Quoted 11 lines

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

The main changes are:

1) Avoid an allocation warning in AF_XDP by adding __GFP_NOWARN for the umem setup, from Björn.

2) Silence a warning in bpf fs when an application tries to open(2) a pinned bpf obj due to missing fops. Add a dummy open fop that continues to just bail out in such case, from Daniel.

Quoted 6 lines

3) Fix a BPF selftest urandom_read build issue where gcc complains that it gets built twice, from Anders.

Please consider pulling these changes from:

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

Pulled, thanks Daniel.