diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2019-01-26 12:26:01 -0500 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-01-26 13:33:01 -0800 |
commit | 092ed0968bb648cd18e8a0430cd0a8a71727315c (patch) | |
tree | 86acdf22e4245eac4b56c622b980e10a1d899c7d /samples/mic/mpssd | |
parent | a72dafafbd5f11c6ea3a9682d64da1074f28eb67 (diff) |
bpf: verifier support JMP32
This patch teach verifier about the new BPF_JMP32 instruction class.
Verifier need to treat it similar as the existing BPF_JMP class.
A BPF_JMP32 insn needs to go through all checks that have been done on
BPF_JMP.
Also, verifier is doing runtime optimizations based on the extra info
conditional jump instruction could offer, especially when the comparison is
between constant and register that the value range of the register could be
improved based on the comparison results. These code are updated
accordingly.
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/mic/mpssd')
0 files changed, 0 insertions, 0 deletions