Skip to content

Commit

Permalink
samples/bpf: fix tcp_bpf.readme detach command
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
fomichev authored and borkmann committed Jul 3, 2019
1 parent 3953388 commit d78e3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/bpf/tcp_bpf.readme
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d78e3f0

Please sign in to comment.