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

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