[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240211214404.1882191-1-edumazet@google.com>
Date: Sun, 11 Feb 2024 21:44:02 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH v2 net-next 0/2] net: use net->dev_by_index in two places
Bring "ip link" ordering to /proc/net/dev one (by ifindexes).
Do the same for /proc/net/vlan/config
v2: added suggestions from Jakub Kicinski and Ido Schimmel, thanks !
Link: https://lore.kernel.org/all/20240209142441.6c56435b@kernel.org/
Link: https://lore.kernel.org/all/ZckR-XOsULLI9EHc@shredder/
Eric Dumazet (2):
vlan: use xarray iterator to implement /proc/net/vlan/config
rtnetlink: use xarray iterator to implement rtnl_dump_ifinfo()
net/8021q/vlanproc.c | 46 ++++++++++++-----------------------
net/core/rtnetlink.c | 58 +++++++++++++++-----------------------------
2 files changed, 36 insertions(+), 68 deletions(-)
--
2.43.0.687.g38aa6559b0-goog
Powered by blists - more mailing lists