[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240919121616.GF1044577@kernel.org>
Date: Thu, 19 Sep 2024 13:16:16 +0100
From: Simon Horman <horms@...nel.org>
To: Tobias Klauser <tklauser@...tanz.ch>
Cc: wireguard@...ts.zx2c4.com, netdev@...r.kernel.org,
"Jason A. Donenfeld" <Jason@...c4.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next] wireguard: Omit unnecessary memset of netdev
private data
On Thu, Sep 19, 2024 at 10:57:46AM +0200, Tobias Klauser wrote:
> The memory for netdev_priv is allocated using kvzalloc in
> alloc_netdev_mqs before rtnl_link_ops->setup is called so there is no
> need to zero it again in wg_setup.
>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Reviewed-by: Simon Horman <horms@...nel.org>
...
Powered by blists - more mailing lists