Jiri Pirko d41c9dbd12 net: devlink: take RTNL in port_fill() function only if it is not held
Follow-up patch is going to introduce a netdevice notifier event
processing which is called with RTNL mutex held. Processing of this will
eventually lead to call to port_notity() and port_fill() which currently
takes RTNL mutex internally. So as a temporary solution, propagate a
bool indicating if the mutex is already held. This will go away in one
of the follow-up patches.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-03 20:48:33 -07:00
..
2022-11-03 15:16:50 +01:00
2022-11-02 11:58:13 +00:00
2022-10-26 20:14:40 -07:00
2022-10-28 18:31:40 -07:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00