Issue with rtnl_lock in wg_pm_notification
Jakub Kicinski
kuba at kernel.org
Wed Jun 18 18:47:35 UTC 2025
On Tue, 17 Jun 2025 01:44:56 +0530 Sharath Chandra Vurukala wrote:
> I do not understand fully what wireguard functionality is, but
> considering that rtnl_lock is a global one, it does not seem to be a
> good design to have notification callback acquire this lock.
I'm not very familiar with the PM locks, but isn't the PM notification
lock also a global one? Again, not an expert but having PM lock outside
the rtnl_lock would be more intuitive to me.
More information about the WireGuard
mailing list