[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aQEAPIZOxe4aHt2z@debian>
Date: Tue, 28 Oct 2025 18:41:16 +0100
From: Guillaume Nault <gnault@...hat.com>
To: Kuniyuki Iwashima <kuniyu@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next 10/13] mpls: Convert mpls_dump_routes() to
RCU.
On Tue, Oct 28, 2025 at 03:37:05AM +0000, Kuniyuki Iwashima wrote:
> @@ -2768,6 +2773,8 @@ static const struct rtnl_msg_handler mpls_rtnl_msg_handlers[] __initdata_or_modu
> {THIS_MODULE, PF_MPLS, RTM_NEWROUTE, mpls_rtm_newroute, NULL, 0},
> {THIS_MODULE, PF_MPLS, RTM_DELROUTE, mpls_rtm_delroute, NULL, 0},
> {THIS_MODULE, PF_MPLS, RTM_GETROUTE, mpls_getroute, mpls_dump_routes, 0},
> + {THIS_MODULE, PF_MPLS, RTM_GETROUTE, mpls_getroute, mpls_dump_routes,
> + RTNL_FLAG_DUMP_UNLOCKED},
I can't see any reason to keep the old RTM_GETROUTE declaration here.
It's going to be overridden by the one with RTNL_FLAG_DUMP_UNLOCKED.
> {THIS_MODULE, PF_MPLS, RTM_GETNETCONF,
> mpls_netconf_get_devconf, mpls_netconf_dump_devconf,
> RTNL_FLAG_DUMP_UNLOCKED},
> --
> 2.51.1.838.g19442a804e-goog
>
>
Powered by blists - more mailing lists