linux-kernel-mentees.lists.linuxfoundation.org archive mirror
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Song Liu <songliubraving@fb.com>, Martin KaFai Lau <kafai@fb.com>,
	Daniel Borkmann <daniel@iogearbox.net>,
	linux-kernel@vger.kernel.org,
	John Fastabend <john.fastabend@gmail.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	dhowells@redhat.com, Eric Dumazet <edumazet@google.com>,
	netdev@vger.kernel.org, Yonghong Song <yhs@fb.com>,
	KP Singh <kpsingh@kernel.org>,
	Hawkins Jiawei <yin31149@gmail.com>,
	bpf@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>,
	linux-kernel-mentees@lists.linuxfoundation.org,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH] net: Fix suspicious RCU usage in bpf_sk_reuseport_detach()
Date: Tue, 16 Aug 2022 21:01:06 +0100	[thread overview]
Message-ID: <592636.1660680066@warthog.procyon.org.uk> (raw)
In-Reply-To: <20220816112147.3aa8d35b@kernel.org>

Jakub Kicinski <kuba@kernel.org> wrote:

> > +__rcu_dereference_sk_user_data_with_flags_check(const struct sock *sk,
> 
> This name is insanely long now.

I know.  47 chars.  Do you have something you'd prefer?  Maybe
get_sk_user_data_checked()?

It's a shame C doesn't allow default arguments.

David

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

  parent reply	other threads:[~2022-08-16 20:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166064248071.3502205.10036394558814861778.stgit@warthog.procyon.org.uk>
2022-08-16 10:34 ` [PATCH] net: Fix suspicious RCU usage in bpf_sk_reuseport_detach() Hawkins Jiawei
2022-08-16 18:21   ` Jakub Kicinski
2022-08-16 20:01   ` David Howells [this message]
2022-08-16 13:09 ` David Howells
2022-08-16 21:49   ` Martin KaFai Lau via Linux-kernel-mentees
2022-08-16 21:16 ` David Howells
2022-08-16 23:44   ` Jakub Kicinski
2022-08-17  0:43     ` Martin KaFai Lau via Linux-kernel-mentees
2022-08-17  1:39       ` Jakub Kicinski
2022-08-17  3:00         ` Hawkins Jiawei
2022-08-17 20:55   ` David Howells
2022-08-17 23:42     ` Jakub Kicinski

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=592636.1660680066@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=john.fastabend@gmail.com \
    --cc=kafai@fb.com \
    --cc=kpsingh@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=songliubraving@fb.com \
    --cc=yhs@fb.com \
    --cc=yin31149@gmail.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).