commit | fb47d1d931f8419645db15ef5fc0dc7a857c8f4e | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Sat Feb 09 23:22:26 2019 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Sun Feb 10 19:46:17 2019 -0800 |
tree | 84f247f2c9ef5015f545d76069493bf87674bd08 | |
parent | 281f9e7572075879c0af4be792eaf31c17e7f894 [diff] |
bpf: Add skb->sk, bpf_sk_fullsock and bpf_tcp_sock tests to test_verifer This patch tests accessing the skb->sk and the new helpers, bpf_sk_fullsock and bpf_tcp_sock. The errstr of some existing "reference tracking" tests is changed with s/bpf_sock/sock/ and s/socket/sock/ where "sock" is from the verifier's reg_type_str[]. Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>