Re: [PATCH 0/2] bpf: permit bpf program narrower loads for ctx fields

2017-06-14 Thread David Miller
From: Yonghong Song Date: Tue, 13 Jun 2017 15:52:12 -0700 > 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 te

[PATCH 0/2] bpf: permit bpf program narrower loads for ctx fields

2017-06-13 Thread Yonghong Song
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. Yonghong Song (2): bpf: permits narrow