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>
This commit is contained in:
parent
395338843d
commit
d78e3f0614
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue