summaryrefslogtreecommitdiff
path: root/samples/bpf/tcp_clamp_kern.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-02-27 19:04:11 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-01 00:53:45 +0100
commitea9b6362018358a46008a8af339178469a4efe13 (patch)
tree834a1c32f0d0f1f37b2203dcc2d671da68cf6ca9 /samples/bpf/tcp_clamp_kern.c
parent5c3cf87d477a461274452cb46f7654c5b6ae6294 (diff)
samples: bpf: remove load_sock_ops in favour of bpftool
bpftool can do all the things load_sock_ops used to do, and more. Point users to bpftool instead of maintaining this sample utility. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/tcp_clamp_kern.c')
-rw-r--r--samples/bpf/tcp_clamp_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/tcp_clamp_kern.c b/samples/bpf/tcp_clamp_kern.c
index f4225c9d2c0c..a0dc2d254aca 100644
--- a/samples/bpf/tcp_clamp_kern.c
+++ b/samples/bpf/tcp_clamp_kern.c
@@ -9,7 +9,7 @@
* the same datacenter. For his example, we assume they are within the same
* datacenter when the first 5.5 bytes of their IPv6 addresses are the same.
*
- * Use load_sock_ops to load this BPF program.
+ * Use "bpftool cgroup attach $cg sock_ops $prog" to load this BPF program.
*/
#include <uapi/linux/bpf.h>