summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-07-02 09:14:03 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-07-03 16:52:02 +0200
commitd78e3f0614f866d4456f860dc5773a6176eb9937 (patch)
tree6ef3c235c14a2ed5352d166637965af44cd8e103 /samples
parent395338843de1e47f6876e58adfe75b6483f96fff (diff)
downloadlinux-d78e3f0614f866d4456f860dc5773a6176eb9937.tar.bz2
samples/bpf: fix tcp_bpf.readme detach command
Copy-paste, should be detach, not attach. Signed-off-by: Stanislav Fomichev <sdf@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Acked-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/tcp_bpf.readme2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/tcp_bpf.readme b/samples/bpf/tcp_bpf.readme
index fee746621aec..78e247f62108 100644
--- a/samples/bpf/tcp_bpf.readme
+++ b/samples/bpf/tcp_bpf.readme
@@ -25,4 +25,4 @@ attached to the cgroupv2).
To remove (unattach) a socket_ops BPF program from a cgroupv2:
- bpftool cgroup attach /tmp/cgroupv2/foo sock_ops pinned /sys/fs/bpf/tcp_prog
+ bpftool cgroup detach /tmp/cgroupv2/foo sock_ops pinned /sys/fs/bpf/tcp_prog