aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-11-14 10:57:13 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-15 23:44:06 +0100
commit9fd4a39dc7fe734d26eb89ea97e8c91331c6378c (patch)
tree5783728bdca357b04e48d656d84eb07b1624a4a8 /net
parentselftests/bpf: Add stress test for maximum number of progs (diff)
downloadlinux-dev-9fd4a39dc7fe734d26eb89ea97e8c91331c6378c.tar.xz
linux-dev-9fd4a39dc7fe734d26eb89ea97e8c91331c6378c.zip
bpf: Reserve space for BPF trampoline in BPF programs
BPF trampoline can be made to work with existing 5 bytes of BPF program prologue, but let's add 5 bytes of NOPs to the beginning of every JITed BPF program to make BPF trampoline job easier. They can be removed in the future. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20191114185720.1641606-14-ast@kernel.org
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions