commit | 9b38c4056b2736bb5902e8b0911832db666fd19b | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Dec 19 22:13:06 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Dec 20 17:28:28 2018 +0100 |
tree | cfff837fa66417ec29826eaded7813cf98724567 | |
parent | 14507e35bd9dedcd14c24f9e5e0e0dd48e972e53 [diff] |
bpf: verifier: reorder stack size check with dead code sanitization Reorder the calls to check_max_stack_depth() and sanitize_dead_code() to separate functions which can rewrite instructions from pure checks. No functional changes. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>