aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-06-14 14:56:26 -0400
committerDavid S. Miller <davem@davemloft.net>2017-06-14 14:56:26 -0400
commit2fae5d0e647c6470d206e72b5fc24972bb900f70 (patch)
treebc04b4c45c52a732e1d92c7348e3a1354bfd47f6 /lib/test_bpf.c
parentmacvlan: propagate the mac address change status for lowerdev (diff)
parentselftests/bpf: Add test cases to test narrower ctx field loads (diff)
downloadlinux-dev-2fae5d0e647c6470d206e72b5fc24972bb900f70.tar.xz
linux-dev-2fae5d0e647c6470d206e72b5fc24972bb900f70.zip
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 <davem@davemloft.net>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions