]> asedeno.scripts.mit.edu Git - linux.git/commit
bpf: speed up stacksafe check
authorAlexei Starovoitov <ast@kernel.org>
Thu, 13 Dec 2018 19:42:31 +0000 (11:42 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 15 Dec 2018 00:28:32 +0000 (01:28 +0100)
commitb233920c97a6201eb47fbafd78365c6946e6d7b6
treeb12e159f1af740aea1e6ea95a6944e2341689e09
parenteb415c98980fd13618c64b0d88c2439103b4a627
bpf: speed up stacksafe check

Don't check the same stack liveness condition 8 times.
once is enough.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Edward Cree <ecree@solarflare.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/verifier.c