]> 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)
commit411497d075b9574c5cd8eebdbeec72418f0e8f7c
treec7c94f74bd538f1e6c0595fd9a80836234122bfe
parent9666e16045ea45bbfe9a370eb13ae9ed536b865e
bpf, verifier: avoid retpoline for map push/pop/peek operation

Extend prior work from e62c30457829 ("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