[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240305114028.34f8c253@kernel.org>
Date: Tue, 5 Mar 2024 11:40:28 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Antonio Quartulli <antonio@...nvpn.net>
Cc: netdev@...r.kernel.org, Sergey Ryazanov <ryazanov.s.a@...il.com>, Paolo
Abeni <pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next v2 04/22] ovpn: add basic interface
creation/destruction/management routines
On Mon, 4 Mar 2024 16:08:55 +0100 Antonio Quartulli wrote:
> + dev = alloc_netdev(sizeof(struct ovpn_struct), name, NET_NAME_USER, ovpn_setup);
> +
> + dev_net_set(dev, net);
the dev allocation never fails? Or the error is handles somewhere else?
Powered by blists - more mailing lists