diff options
author | Jann Horn <jannh@google.com> | 2017-12-19 05:11:56 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-21 02:15:41 +0100 |
commit | 468f6eafa6c44cb2c5d8aad35e12f06c240a812a (patch) | |
tree | 99734f161dfc9788aa59500058cd5859ac33fab0 /kernel/bpf/sockmap.c | |
parent | bpf: fix incorrect tracking of register size truncation (diff) | |
download | linux-468f6eafa6c44cb2c5d8aad35e12f06c240a812a.tar.xz linux-468f6eafa6c44cb2c5d8aad35e12f06c240a812a.zip |
bpf: fix 32-bit ALU op verification
32-bit ALU ops operate on 32-bit values and have 32-bit outputs.
Adjust the verifier accordingly.
Fixes: f1174f77b50c ("bpf/verifier: rework value tracking")
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/sockmap.c')
0 files changed, 0 insertions, 0 deletions