On Fri, May 04, 2018 at 02:13:57AM +0200, Daniel Borkmann wrote:
> Commit 9ef09e35e521 ("bpf: fix possible spectre-v1 in find_and_alloc_map()")
> converted find_and_alloc_map() over to use array_index_nospec() to sanitize
> map type that user space passes on map creation, and this patch does an
> analogous conversion for progs in find_prog_type() as it's also passed from
> user space when loading progs as attr->prog_type.
> 
> Signed-off-by: Daniel Borkmann <dan...@iogearbox.net>
> Cc: Mark Rutland <mark.rutl...@arm.com>

Applied to bpf tree, thanks Daniel.

Reply via email to