]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, verifier: avoid retpoline for map push/pop/peek operation
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 21 Oct 2018 00:09:27 +0000 (02:09 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 21 Oct 2018 06:13:32 +0000 (23:13 -0700)
commitf422d9f579541c1c5736ed150c9036163c836e17
treec7c94f74bd538f1e6c0595fd9a80836234122bfe
parente97234b4f5a0d3309e37ec3aece06412ad2d9f80
bpf, verifier: avoid retpoline for map push/pop/peek operation

Extend prior work from 1f61e31bd6ab ("bpf: avoid retpoline for
lookup/update/delete calls on maps") to also apply to the recently
added map helpers that perform push/pop/peek operations so that
the indirect call can be avoided.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c