lkml.org 
[lkml]   [2017]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net 0/3] Fix for BPF devmap percpu allocation splat
Date
The set fixes a splat in devmap percpu allocation when we alloc
the flush bitmap. Patch 1 is a prerequisite for the fix in patch 2,
patch 1 is rather small, so if this could be routed via -net, for
example, with Tejun's Ack that would be good. Patch 3 gets rid of
remaining PCPU_MIN_UNIT_SIZE checks, which are percpu allocator
internals and should not be used.

Thanks!

Daniel Borkmann (3):
mm, percpu: add support for __GFP_NOWARN flag
bpf: fix splat for illegal devmap percpu allocation
bpf: do not test for PCPU_MIN_UNIT_SIZE before percpu allocations

kernel/bpf/arraymap.c | 2 +-
kernel/bpf/devmap.c | 5 +++--
kernel/bpf/hashtab.c | 4 ----
mm/percpu.c | 15 ++++++++++-----
4 files changed, 14 insertions(+), 12 deletions(-)

--
1.9.3

\
 
 \ /
  Last update: 2017-10-17 16:57    [W:0.154 / U:4.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site