projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c147b5
)
bpf: clean up from test_tcpbpf_kern.c
author
Lawrence Brakmo
<brakmo@fb.com>
Fri, 26 Jan 2018 20:06:07 +0000
(12:06 -0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Fri, 26 Jan 2018 22:39:05 +0000
(23:39 +0100)
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>
tools/testing/selftests/bpf/test_tcpbpf_kern.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/test_tcpbpf_kern.c
b/tools/testing/selftests/bpf/test_tcpbpf_kern.c
index 66bf71541903f879dae16ecdd38bfaad527ac5e2..57119ad57a3fbf6e1e8b1b35d9c74b9ab201715e 100644
(file)
--- 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,