diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2018-01-26 12:06:07 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-26 23:39:05 +0100 |
commit | 771fc607e6b97be8f0cc7dfaa61173009c2214d4 (patch) | |
tree | 29462f66bc950d2bcff53d99a768a9f41cc8b73f /tools | |
parent | 9c147b56fc7165856da9c510463fafc2f0d58d5f (diff) | |
download | op-kernel-dev-771fc607e6b97be8f0cc7dfaa61173009c2214d4.zip op-kernel-dev-771fc607e6b97be8f0cc7dfaa61173009c2214d4.tar.gz |
bpf: clean up from test_tcpbpf_kern.c
Removed commented lines from test_tcpbpf_kern.c
Fixes: d6d4f60c3a09 bpf: add selftest for tcpbpf
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/bpf/test_tcpbpf_kern.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/bpf/test_tcpbpf_kern.c b/tools/testing/selftests/bpf/test_tcpbpf_kern.c index 66bf715..57119ad 100644 --- a/tools/testing/selftests/bpf/test_tcpbpf_kern.c +++ b/tools/testing/selftests/bpf/test_tcpbpf_kern.c @@ -79,9 +79,6 @@ int bpf_testcb(struct bpf_sock_ops *skops) } break; case BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB: - /* Set callback */ -// good_call_rv = bpf_sock_ops_cb_flags_set(skops, -// BPF_SOCK_OPS_STATE_CB_FLAG); skops->sk_txhash = 0x12345f; v = 0xff; rv = bpf_setsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v, |