Skip to content

Commit

Permalink
bpf: clean up from test_tcpbpf_kern.c
Browse files Browse the repository at this point in the history
Removed commented lines from test_tcpbpf_kern.c

Fixes: d6d4f60 bpf: add selftest for tcpbpf
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
Lawrence Brakmo authored and Daniel Borkmann committed Jan 26, 2018
1 parent 9c147b5 commit 771fc60
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/testing/selftests/bpf/test_tcpbpf_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 771fc60

Please sign in to comment.