[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJYtngKVJKChtVX4mmfcB-2gpn96k09B_bWWsSqUEEN5A@mail.gmail.com>
Date: Tue, 13 Jun 2023 11:14:26 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, pabeni@...hat.com,
dsahern@...il.com
Subject: Re: [PATCH net-next v2 1/2] net: create device lookup API with
reference tracking
On Mon, Jun 12, 2023 at 11:49 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> New users of dev_get_by_index() and dev_get_by_name() keep
> getting added and it would be nice to steer them towards
> the APIs with reference tracking.
>
> Add variants of those calls which allocate the reference
> tracker and use them in a couple of places.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists