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

From: Daniel Borkmann
Date: Mon Aug 29 2016 - 20:30:41 EST


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@xxxxxxxxxx>

Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>