From: David S. Miller Date: Wed, 14 Jun 2017 18:56:26 +0000 (-0400) Subject: Merge branch 'bpf-ctx-narrow' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2fae5d0e647c6470d206e72b5fc24972bb900f70;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'bpf-ctx-narrow' Yonghong Song says: ==================== bpf: permit bpf program narrower loads for ctx fields Today, if users try to access a ctx field through a narrower load, e.g., __be16 prot = __sk_buff->protocol, verifier will fail. This set contains the verifier change to permit such loads for certain ctx fields as well as the new test cases in selftests/bpf. ==================== Signed-off-by: David S. Miller --- 2fae5d0e647c6470d206e72b5fc24972bb900f70