diff options
| author | 2018-10-31 16:53:18 -0700 | |
|---|---|---|
| committer | 2018-10-31 16:53:18 -0700 | |
| commit | dfeb8f4c9692fd5e6c3eef19c2e4ae5338dbdb01 (patch) | |
| tree | 580d9ce17012b6dce0d9da1b9a4993cf9e602605 /include | |
| parent | libbpf: Fix compile error in libbpf_attach_type_by_name (diff) | |
| parent | bpf: test make sure to run unpriv test cases in test_verifier (diff) | |
| download | linux-dev-dfeb8f4c9692fd5e6c3eef19c2e4ae5338dbdb01.tar.xz linux-dev-dfeb8f4c9692fd5e6c3eef19c2e4ae5338dbdb01.zip | |
Merge branch 'verifier-fixes'
Daniel Borkmann says:
====================
The series contains two fixes in BPF core and test cases. For details
please see individual patches. Thanks!
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/bpf_verifier.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/bpf_verifier.h b/include/linux/bpf_verifier.h index 9e8056ec20fa..d93e89761a8b 100644 --- a/include/linux/bpf_verifier.h +++ b/include/linux/bpf_verifier.h @@ -51,6 +51,9 @@ struct bpf_reg_state { * PTR_TO_MAP_VALUE_OR_NULL */ struct bpf_map *map_ptr; + + /* Max size from any of the above. */ + unsigned long raw; }; /* Fixed part of pointer offset, pointer types only */ s32 off; |
