[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240802002031.78111-1-kuniyu@amazon.com>
Date: Thu, 1 Aug 2024 17:20:31 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <dmantipov@...dex.ru>
CC: <gustavo@...eddedor.com>, <kees@...nel.org>, <kuba@...nel.org>,
<kuniyu@...zon.com>, <linux-hardening@...r.kernel.org>,
<netdev@...r.kernel.org>, <pabeni@...hat.com>
Subject: Re: [PATCH v3] net: core: annotate socks of struct sock_reuseport with __counted_by
From: Dmitry Antipov <dmantipov@...dex.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@...dex.ru>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Powered by blists - more mailing lists