bpftool: Add sock_release help info for cgroup attach/prog load command
authorLiu Jian <liujian56@huawei.com>
Tue, 25 May 2021 01:41:39 +0000 (09:41 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 25 May 2021 14:18:32 +0000 (16:18 +0200)
commita8deba8547e39f26440101164a3bbc2899c5b305
tree1249103f6937dff1a2e056da5b8232202b28581b
parent84316ca4e100d8cbfccd9f774e23817cb2059868
bpftool: Add sock_release help info for cgroup attach/prog load command

The help information was not added at the time when the function got added.
Fix this and add the missing information to its cli, documentation and bash
completion.

Fixes: db94cc0b4805 ("bpftool: Add support for BPF_CGROUP_INET_SOCK_RELEASE")
Signed-off-by: Liu Jian <liujian56@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20210525014139.323859-1-liujian56@huawei.com
tools/bpf/bpftool/Documentation/bpftool-cgroup.rst
tools/bpf/bpftool/Documentation/bpftool-prog.rst
tools/bpf/bpftool/bash-completion/bpftool
tools/bpf/bpftool/cgroup.c
tools/bpf/bpftool/prog.c