提交 d78e3f06 编写于 作者: S Stanislav Fomichev 提交者: Daniel Borkmann

samples/bpf: fix tcp_bpf.readme detach command

Copy-paste, should be detach, not attach.
Signed-off-by: NStanislav Fomichev <sdf@google.com>
Acked-by: NSoheil Hassas Yeganeh <soheil@google.com>
Acked-by: NYuchung Cheng <ycheng@google.com>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
上级 39533884
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册