netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "liujian (CE)" <liujian56@huawei.com>
To: Quentin Monnet <quentin@isovalent.com>,
	"ast@kernel.org" <ast@kernel.org>,
	"daniel@iogearbox.net" <daniel@iogearbox.net>,
	"andrii@kernel.org" <andrii@kernel.org>,
	"kafai@fb.com" <kafai@fb.com>,
	"songliubraving@fb.com" <songliubraving@fb.com>,
	"yhs@fb.com" <yhs@fb.com>,
	"john.fastabend@gmail.com" <john.fastabend@gmail.com>,
	"kpsingh@kernel.org" <kpsingh@kernel.org>,
	"sdf@google.com" <sdf@google.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"bpf@vger.kernel.org" <bpf@vger.kernel.org>
Subject: RE: [PATCH v2] bpftool: Add sock_release help info for cgroup attach command
Date: Mon, 24 May 2021 09:11:50 +0000	[thread overview]
Message-ID: <962a5d78efcb4c82a53b25c81f22433f@huawei.com> (raw)
In-Reply-To: <f8b76c9d-9d92-4b46-eaa3-ba2ba546f91f@isovalent.com>



> -----Original Message-----
> From: Quentin Monnet [mailto:quentin@isovalent.com]
> Sent: Monday, May 24, 2021 4:23 PM
> To: liujian (CE) <liujian56@huawei.com>; ast@kernel.org;
> daniel@iogearbox.net; andrii@kernel.org; kafai@fb.com;
> songliubraving@fb.com; yhs@fb.com; john.fastabend@gmail.com;
> kpsingh@kernel.org; sdf@google.com; netdev@vger.kernel.org;
> bpf@vger.kernel.org
> Subject: Re: [PATCH v2] bpftool: Add sock_release help info for cgroup
> attach command
> 
> 2021-05-24 16:03 UTC+0800 ~ Liu Jian <liujian56@huawei.com>
> > The help information is not added when the function is added.
> > Add the missing help information.
> >
> > Fixes: db94cc0b4805 ("bpftool: Add support for
> > BPF_CGROUP_INET_SOCK_RELEASE")
> > Signed-off-by: Liu Jian <liujian56@huawei.com>
> > ---
> > v1 -> v2:
> >     Add changelog text.
> >
> >  tools/bpf/bpftool/cgroup.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/tools/bpf/bpftool/cgroup.c b/tools/bpf/bpftool/cgroup.c
> > index d901cc1b904a..6e53b1d393f4 100644
> > --- a/tools/bpf/bpftool/cgroup.c
> > +++ b/tools/bpf/bpftool/cgroup.c
> > @@ -28,7 +28,8 @@
> >  	"                        connect6 | getpeername4 | getpeername6 |\n"   \
> >  	"                        getsockname4 | getsockname6 | sendmsg4 |\n"   \
> >  	"                        sendmsg6 | recvmsg4 | recvmsg6 |\n"           \
> > -	"                        sysctl | getsockopt | setsockopt }"
> > +	"                        sysctl | getsockopt | setsockopt |\n"	       \
> > +	"                        sock_release }"
> >
> >  static unsigned int query_flags;
> >
> >
> 
> Thanks a lot!
> 
> Note that there are a few other places in bpftool where the attach point
> should be added, would you mind updating them too? That would be: the
> documentation page for bpftool-cgroup, the one for bpftool-prog, the help
> message in prog.c, and the bash completion. It should all be straightforward.
> You can try something like "grep recvmsg4 tools/bpf/bpftool" to find the
> relevant locations.

OK, I'll change it together. Thanks for your review.

> Best regards,
> Quentin

      reply	other threads:[~2021-05-24  9:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24  8:03 [PATCH v2] bpftool: Add sock_release help info for cgroup attach command Liu Jian
2021-05-24  8:23 ` Quentin Monnet
2021-05-24  9:11   ` liujian (CE) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=962a5d78efcb4c82a53b25c81f22433f@huawei.com \
    --to=liujian56@huawei.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=john.fastabend@gmail.com \
    --cc=kafai@fb.com \
    --cc=kpsingh@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=quentin@isovalent.com \
    --cc=sdf@google.com \
    --cc=songliubraving@fb.com \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).