aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-05-22 17:57:19 -0400
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-23 06:03:32 -0400
commit4ef5f5741e340d625e668f78d44eb8c9a6a4a26e (patch)
tree5f7f0fee613280c3a8859a91ddc9d8aa4223063f /kernel/bpf/arraymap.c
parentf80442a4cd1864154beaa060bb483a2c9f7d811f (diff)
bpf: btf: Check array->index_type
Instead of ingoring the array->index_type field. Enforce that it must be a BTF_KIND_INT in size 1/2/4/8 bytes. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions