Skip to content

net: use net->dev_by_index in two places

Eric Dumazet netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied 2/2
  2. v12 patches 5 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2vlan: use xarray iterator to implement /proc/net/vlan/confignet/8021q/vlanproc.c+16 -301 replyApplied
2/2rtnetlink: use xarray iterator to implement rtnl_dump_ifinfo()net/core/rtnetlink.c+20 -381 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJakub KicinskiIdo Schimmel
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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 !

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(-)
Signature · 1 line
2.43.0.687.g38aa6559b0-goog