From: Daniel Borkmann Date: Mon, 15 Jul 2019 21:02:17 +0000 (+0200) Subject: Merge branch 'bpf-btf-size-verification-fix' X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~4214^2~7^2~14 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=896bcc908a2f422acf604ad0717aee593f3e823f;p=linux.git Merge branch 'bpf-btf-size-verification-fix' Andrii Nakryiko says: ==================== BTF size resolution logic isn't always resolving type size correctly, leading to erroneous map creation failures due to value size mismatch. This patch set: 1. fixes the issue (patch #1); 2. adds tests for trickier cases (patch #2); 3. and converts few test cases utilizing BTF-defined maps, that previously couldn't use typedef'ed arrays due to kernel bug (patch #3). ==================== Acked-by: Yonghong Song Signed-off-by: Daniel Borkmann --- 896bcc908a2f422acf604ad0717aee593f3e823f