Martin KaFai Lau
b9308ae696
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 >
2018-06-02 11:22:36 -07:00
..
2017-11-02 11:10:55 +01:00
2018-05-07 15:23:46 -03:00
2018-05-30 12:53:00 +02:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2017-11-02 11:10:55 +01:00
2018-03-18 17:48:59 +01:00
2018-03-06 09:57:16 -08:00
2018-02-21 15:35:42 -08:00
2018-05-30 12:40:14 +02:00
2018-03-28 22:47:06 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2018-05-30 12:40:14 +02:00
2018-03-10 10:22:23 +01:00
2017-11-02 11:10:55 +01:00
2018-05-19 08:10:04 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-11 12:10:02 -03:00
2018-05-04 11:24:22 +02:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2018-06-02 11:22:36 -07:00
2018-03-27 09:51:23 +02:00
2014-07-23 10:16:38 -07:00
2018-03-22 13:08:20 +01:00
2018-03-20 03:17:37 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2017-11-18 10:26:57 -08:00