[PATCH net-next] wireguard: Omit unnecessary memset of netdev private data
Simon Horman
horms at kernel.org
Thu Sep 19 12:16:23 UTC 2024
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 at distanz.ch>
Reviewed-by: Simon Horman <horms at kernel.org>
...
More information about the WireGuard
mailing list