From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
To: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>,
Alexander Lobakin <aleksander.lobakin@intel.com>
Cc: Ido Schimmel <idosch@idosch.org>, Andrew Lunn <andrew@lunn.ch>,
netdev@vger.kernel.org
Subject: [PATCH net-next v3 0/2] net: notify users when an iface cannot change its netns
Date: Thu, 20 Feb 2025 14:02:34 +0100 [thread overview]
Message-ID: <20250220130334.3583331-1-nicolas.dichtel@6wind.com> (raw)
This series adds a way to see if an interface cannot be moved to another netns.
v2 -> v3:
- don't copy patch #1 to stable@vger.kernel.org
- 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 +++
include/linux/netdevice.h | 5 ++--
include/uapi/linux/if_link.h | 1 +
net/core/dev.c | 41 +++++++++++++++++++++++++-------
net/core/rtnetlink.c | 5 +++-
5 files changed, 44 insertions(+), 11 deletions(-)
Comments are welcome.
Regards,
Nicolas
next reply other threads:[~2025-02-20 13:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 13:02 Nicolas Dichtel [this message]
2025-02-20 13:02 ` [PATCH net-next v3 1/2] net: advertise 'netns local' property via netlink Nicolas Dichtel
2025-02-20 13:10 ` Eric Dumazet
2025-02-20 15:34 ` Alexander Lobakin
2025-02-21 4:23 ` Kuniyuki Iwashima
2025-02-20 13:02 ` [PATCH net-next v3 2/2] net: plumb extack in __dev_change_net_namespace() Nicolas Dichtel
2025-02-20 13:17 ` Eric Dumazet
2025-02-20 13:22 ` Nicolas Dichtel
2025-02-20 13:24 ` Eric Dumazet
2025-02-20 15:11 ` Nicolas Dichtel
2025-02-21 4:34 ` Kuniyuki Iwashima
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250220130334.3583331-1-nicolas.dichtel@6wind.com \
--to=nicolas.dichtel@6wind.com \
--cc=aleksander.lobakin@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=idosch@idosch.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).