Skip to content

net: notify users when an iface cannot change its netns

Nicolas Dichtel netdev 6 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. v6 Latest3 patches 0 repliesApplied 3/3
  2. v53 patches 2 repliesSuperseded
  3. v43 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches8 repliesSuperseded
v22 patches2 repliesSuperseded
v12 patches7 repliesSuperseded

Changes in v6 from the cover letter

- reword a nl ack comment in patch #1 (add "in the target netns")
- add { } in the netdev_for_each_altname() loop in patch #1

Patches in v6 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: rename netns_local to netns_immutableDocumentation/networking/net_cachelines/net_device.rst Documentation/networking/switchdev.rst drivers/net/amt.c +28 more+42 -420 repliesApplied
2/3net: advertise netns_immutable property via netlinkDocumentation/netlink/specs/rt_link.yaml include/uapi/linux/if_link.h net/core/rtnetlink.c+7 -00 repliesApplied
3/3net: plumb extack in __dev_change_net_namespace()include/linux/netdevice.h net/core/dev.c net/core/rtnetlink.c+38 -120 repliesApplied

Reviews trailers per patch

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

PatchKuniyuki IwashimaEric DumazetAlexander Lobakin
1/3R-b
2/3R-b R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH net-next v6 0/3] net: notify users when an iface cannot change its netns

This series adds a way to see if an interface cannot be moved to another netns.

v5 -> v6:
- reword a nl ack comment in patch #1 (add "in the target netns")
- add { } in the netdev_for_each_altname() loop in patch #1

v4 -> v5:
- rebase on top of net-next

v3 -> v4:
- add patch #1 to the series
- update following patches accordingly

v2 -> v3:
- don't copy patch #1 to [email protected]
- remove the 'Fixes:' tag

v1 -> v2:
- target the series to net-next
- patch #1:
+ use NLA_REJECT for the nl policy
+ update the rt link spec
- patch #2: plumb extack in __dev_change_net_namespace()

 Documentation/netlink/specs/rt_link.yaml           |  3 ++
 .../networking/net_cachelines/net_device.rst       |  2 +-
 Documentation/networking/switchdev.rst             |  2 +-
 drivers/net/amt.c                                  |  2 +-
 drivers/net/bonding/bond_main.c                    |  2 +-
 drivers/net/ethernet/adi/adin1110.c                |  2 +-
 .../net/ethernet/marvell/prestera/prestera_main.c  |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  4 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |  2 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     |  2 +-
 drivers/net/ethernet/rocker/rocker_main.c          |  2 +-
 drivers/net/ethernet/ti/cpsw_new.c                 |  2 +-
 drivers/net/loopback.c                             |  2 +-
 drivers/net/net_failover.c                         |  2 +-
 drivers/net/team/team_core.c                       |  2 +-
 drivers/net/vrf.c                                  |  2 +-
 include/linux/netdevice.h                          |  9 +++--
 include/uapi/linux/if_link.h                       |  1 +
 net/batman-adv/soft-interface.c                    |  2 +-
 net/bridge/br_device.c                             |  2 +-
 net/core/dev.c                                     | 45 +++++++++++++++++-----
 net/core/rtnetlink.c                               |  5 ++-
 net/hsr/hsr_device.c                               |  2 +-
 net/ieee802154/6lowpan/core.c                      |  2 +-
 net/ieee802154/core.c                              | 10 ++---
 net/ipv4/ip_tunnel.c                               |  2 +-
 net/ipv4/ipmr.c                                    |  2 +-
 net/ipv6/ip6_gre.c                                 |  2 +-
 net/ipv6/ip6_tunnel.c                              |  2 +-
 net/ipv6/ip6mr.c                                   |  2 +-
 net/ipv6/sit.c                                     |  2 +-
 net/openvswitch/vport-internal_dev.c               |  2 +-
 net/wireless/core.c                                | 10 ++---
 tools/testing/selftests/net/forwarding/README      |  2 +-
 34 files changed, 86 insertions(+), 53 deletions(-)

Comments are welcome.

Regards,
Nicolas