[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241107133004.7469-7-shaw.leon@gmail.com>
Date: Thu, 7 Nov 2024 21:30:01 +0800
From: Xiao Liang <shaw.leon@...il.com>
To: netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Kuniyuki Iwashima <kuniyu@...zon.com>,
Jakub Kicinski <kuba@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
David Ahern <dsahern@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Ido Schimmel <idosch@...dia.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
Simon Horman <horms@...nel.org>,
Donald Hunter <donald.hunter@...il.com>,
Shuah Khan <shuah@...nel.org>,
Jiri Pirko <jiri@...nulli.us>,
Hangbin Liu <liuhangbin@...il.com>
Subject: [PATCH net-next v2 6/8] net: dummy: Set netns_atomic in rtnl ops for testing
Set netns_atomic flag in rtnl ops. For testing purpose only, since
link-netns is not used for dummy interfaces in practice.
Signed-off-by: Xiao Liang <shaw.leon@...il.com>
---
drivers/net/dummy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c
index e9c5e1e11fa0..38d79f543998 100644
--- a/drivers/net/dummy.c
+++ b/drivers/net/dummy.c
@@ -138,6 +138,7 @@ static struct rtnl_link_ops dummy_link_ops __read_mostly = {
.kind = DRV_NAME,
.setup = dummy_setup,
.validate = dummy_validate,
+ .netns_atomic = true,
};
/* Number of dummy devices to be set up by this module. */
--
2.47.0
Powered by blists - more mailing lists