Development discussion of WireGuard
 help / color / mirror / Atom feed
* Re: Issue with rtnl_lock in wg_pm_notification
       [not found] <2c5257a7-e330-4983-8447-3e217b616b2e@quicinc.com>
@ 2025-06-18 18:47 ` Jakub Kicinski
  0 siblings, 0 replies; only message in thread
From: Jakub Kicinski @ 2025-06-18 18:47 UTC (permalink / raw)
  To: Sharath Chandra Vurukala; +Cc: Jason, wireguard, netdev

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-18 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2c5257a7-e330-4983-8447-3e217b616b2e@quicinc.com>
2025-06-18 18:47 ` Issue with rtnl_lock in wg_pm_notification Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).