diff options
author | Alexei Starovoitov <ast@kernel.org> | 2018-10-31 16:53:18 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-10-31 16:53:18 -0700 |
commit | dfeb8f4c9692fd5e6c3eef19c2e4ae5338dbdb01 (patch) | |
tree | 580d9ce17012b6dce0d9da1b9a4993cf9e602605 /include | |
parent | 3615353218744bb60f55170c620ce4dce1a008c7 (diff) | |
parent | 832c6f2c29ec519b766923937f4f93fb1008b47d (diff) |
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; |