From: David S. Miller Date: Tue, 14 Nov 2017 07:20:04 +0000 (+0900) Subject: Merge branch 'bpf-improve-verifier-ARG_CONST_SIZE_OR_ZERO-semantics' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0a87bc2e58a687fe14817b9c7f73e68570ba33c6;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'bpf-improve-verifier-ARG_CONST_SIZE_OR_ZERO-semantics' Yonghong Song says: ==================== bpf: improve verifier ARG_CONST_SIZE_OR_ZERO semantics This patch set intends to change verifier ARG_CONST_SIZE_OR_ZERO semantics so that simpler bpf programs can be written with verifier acceptance. Patch #1 comment provided the detailed examples and the patch itself implements the new semantics. Patch #2 changes bpf_probe_read helper arg2 type from ARG_CONST_SIZE to ARG_CONST_SIZE_OR_ZERO. Patch #3 fixed a few test cases and added some for better coverage. ==================== Signed-off-by: David S. Miller --- 0a87bc2e58a687fe14817b9c7f73e68570ba33c6