bpf: bump jmp sequence limit
authorAlexei Starovoitov <ast@kernel.org>
Wed, 22 May 2019 03:14:19 +0000 (20:14 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 23 May 2019 14:20:57 +0000 (16:20 +0200)
commitb285fcb760da7aa87d6d31e6c6a4907d82d9299c
tree5c982c12df51d373e440d4267a1c0aaa608301df
parent9efc7794496d531593751a3fb008030d5f9ba87c
bpf: bump jmp sequence limit

The limit of 1024 subsequent jumps was causing otherwise valid
programs to be rejected. Bump it to 8192 and make the error more verbose.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/verifier.c