[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220825181446.6d84048b@kernel.org>
Date: Thu, 25 Aug 2022 18:14:46 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, pabeni@...hat.com,
edumazet@...gle.com
Subject: Re: [patch net-next] net: devlink: add RNLT lock assertion to
devlink_compat_switch_id_get()
On Thu, 25 Aug 2022 13:29:23 +0200 Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> Similar to devlink_compat_phys_port_name_get(), make sure that
> devlink_compat_switch_id_get() is called with RTNL lock held. Comment
> already says so, so put this in code as well.
>
> Signed-off-by: Jiri Pirko <jiri@...dia.com>
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists