Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1472178

Re: [PATCH net-next 3/6] bpf: perf_event progs should only use preallocated maps

From Daniel Borkmann <daniel@iogearbox.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 3/6] bpf: perf_event progs should only use preallocated maps
Date 2016-08-30 02:40 +0200
Message-ID <sbFfP-5Zk-5@gated-at.bofh.it> (permalink)
References <saBHj-793-3@gated-at.bofh.it> <saBHj-793-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/27/2016 04:31 AM, Alexei Starovoitov wrote:
> Make sure that BPF_PROG_TYPE_PERF_EVENT programs only use
> preallocated hash maps, since doing memory allocation
> in overflow_handler can crash depending on where nmi got triggered.
>
> Signed-off-by: Alexei Starovoitov <ast@kernel.org>

Acked-by: Daniel Borkmann <daniel@iogearbox.net>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next 3/6] bpf: perf_event progs should only use preallocated maps Alexei Starovoitov <ast@fb.com> - 2016-08-27 04:40 +0200
  Re: [PATCH net-next 3/6] bpf: perf_event progs should only use preallocated  maps Daniel Borkmann <daniel@iogearbox.net> - 2016-08-30 02:40 +0200

csiph-web