Thread (1 message) 1 message, 1 author, 5d ago

Re: [PATCH net-next v8 3/7] net: pse-pd: unwind allocations when controller registration fails

From: Carlo Szelinsky <hidden>
Date: 2026-10-17 22:47:16
Also in: linux-devicetree, lkml, sashiko-reviews

On Mon, 05 Oct 2026 16:43:05 +0000, sashiko-bot@kernel.org wrote:
[Severity: High]
Does setting pcdev->pi[i].pw_d to NULL here without holding pcdev->lock
introduce a race condition with concurrent sysfs accesses?
Yes, agreed. In v9 pi[].pw_d is cleared under pcdev->lock, so a
regulator op that holds the lock sees either the old domain or NULL,
never a change in between.

Carlo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help