From: Kuniyuki Iwashima <kuniyu@amazon.com>
To: <dmantipov@yandex.ru>
Cc: <gustavo@embeddedor.com>, <kees@kernel.org>, <kuba@kernel.org>,
<kuniyu@amazon.com>, <linux-hardening@vger.kernel.org>,
<netdev@vger.kernel.org>, <pabeni@redhat.com>
Subject: Re: [PATCH v3] net: core: annotate socks of struct sock_reuseport with __counted_by
Date: Thu, 1 Aug 2024 17:20:31 -0700 [thread overview]
Message-ID: <20240802002031.78111-1-kuniyu@amazon.com> (raw)
In-Reply-To: <20240801142311.42837-1-dmantipov@yandex.ru>
From: Dmitry Antipov <dmantipov@yandex.ru>
Date: Thu, 1 Aug 2024 17:23:11 +0300
> According to '__reuseport_alloc()', annotate flexible array member
> 'sock' of 'struct sock_reuseport' with '__counted_by()' and use
> convenient 'struct_size()' to simplify the math used in 'kzalloc()'.
>
> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
next prev parent reply other threads:[~2024-08-02 0:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-01 14:23 [PATCH v3] net: core: annotate socks of struct sock_reuseport with __counted_by Dmitry Antipov
2024-08-01 14:32 ` Gustavo A. R. Silva
2024-08-02 0:20 ` Kuniyuki Iwashima [this message]
2024-08-03 0:30 ` patchwork-bot+netdevbpf
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=20240802002031.78111-1-kuniyu@amazon.com \
--to=kuniyu@amazon.com \
--cc=dmantipov@yandex.ru \
--cc=gustavo@embeddedor.com \
--cc=kees@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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