[PATCH net-next] wireguard: Omit unnecessary memset of netdev private data
Jason A. Donenfeld
Jason at zx2c4.com
Fri Sep 20 15:27:19 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>
Thanks. Seems reasonable to me. I'll queue it up in the wireguard tree.
Jason
More information about the WireGuard
mailing list