[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZcpC6Gk9fmJrv80V@shredder>
Date: Mon, 12 Feb 2024 18:10:16 +0200
From: Ido Schimmel <idosch@...dia.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v2 net-next 2/2] rtnetlink: use xarray iterator to
implement rtnl_dump_ifinfo()
On Sun, Feb 11, 2024 at 09:44:04PM +0000, Eric Dumazet wrote:
> Adopt net->dev_by_index as I did in commit 0e0939c0adf9
> ("net-procfs: use xarray iterator to implement /proc/net/dev")
>
> This makes sure an existing device is always visible in the dump,
> regardless of concurrent insertions/deletions.
>
> v2: added suggestions from Jakub Kicinski and Ido Schimmel,
> thanks for the help !
>
> Link: https://lore.kernel.org/all/20240209142441.6c56435b@kernel.org/
> Link: https://lore.kernel.org/all/ZckR-XOsULLI9EHc@shredder/
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Ido Schimmel <idosch@...dia.com>
Powered by blists - more mailing lists