diff options
| author | Alban Crequy <[email protected]> | 2019-02-19 14:13:32 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-02-19 16:23:18 +0000 |
| commit | a5d9265e017f081f0dc133c0e2f45103d027b874 (patch) | |
| tree | a65affee18d061503a7d7e4b9da9375b2dd9dc74 /tools/bpf/bpftool/prog.c | |
| parent | bnx2x: Remove set but not used variable 'mfw_vn' (diff) | |
| download | kernel-a5d9265e017f081f0dc133c0e2f45103d027b874.tar.gz kernel-a5d9265e017f081f0dc133c0e2f45103d027b874.zip | |
bpf: bpftool, fix documentation for attach types
bpftool has support for attach types "stream_verdict" and
"stream_parser" but the documentation was referring to them as
"skb_verdict" and "skb_parse". The inconsistency comes from commit
b7d3826c2ed6 ("bpf: bpftool, add support for attaching programs to
maps").
This patch changes the documentation to match the implementation:
- "bpftool prog help"
- man pages
- bash completion
Signed-off-by: Alban Crequy <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
| -rw-r--r-- | tools/bpf/bpftool/prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index 33ed0806ccc0..db978c8d76a8 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c @@ -1199,7 +1199,7 @@ static int do_help(int argc, char **argv) " cgroup/bind4 | cgroup/bind6 | cgroup/post_bind4 |\n" " cgroup/post_bind6 | cgroup/connect4 | cgroup/connect6 |\n" " cgroup/sendmsg4 | cgroup/sendmsg6 }\n" - " ATTACH_TYPE := { msg_verdict | skb_verdict | skb_parse |\n" + " ATTACH_TYPE := { msg_verdict | stream_verdict | stream_parser |\n" " flow_dissector }\n" " " HELP_SPEC_OPTIONS "\n" "", |
