summaryrefslogtreecommitdiff
path: root/ipc/util.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-06-02 09:06:50 -0700
committerAlexei Starovoitov <ast@kernel.org>2018-06-02 11:22:36 -0700
commitb9308ae696b2c35e862636eec631d95ff958c33d (patch)
treee6ec045510d123dbb9f6e1502e4c5aa809e88f6e /ipc/util.h
parentb4b21a05b8fe7288087691e993c913a41fd6eb4b (diff)
downloadlwn-b9308ae696b2c35e862636eec631d95ff958c33d.tar.gz
lwn-b9308ae696b2c35e862636eec631d95ff958c33d.zip
bpf: btf: Check array t->size
This patch ensures array's t->size is 0. The array size is decided by its individual elem's size and the number of elements. Hence, t->size is not used and it must be 0. A test case is added to test_btf.c Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions