summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2018-10-31 16:53:18 -0700
committerAlexei Starovoitov <ast@kernel.org>2018-10-31 16:53:18 -0700
commitdfeb8f4c9692fd5e6c3eef19c2e4ae5338dbdb01 (patch)
tree580d9ce17012b6dce0d9da1b9a4993cf9e602605 /include
parent3615353218744bb60f55170c620ce4dce1a008c7 (diff)
parent832c6f2c29ec519b766923937f4f93fb1008b47d (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.h3
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;