Re: [PATCH net v3 05/14] net: pse-pd: do not reach a freed PHY from the notification worker

From
Carlo Szelinsky <hidden>
Date
2026-11-05 18:01:53
Also in
lkml
Reply to
netdev-bot+sashiko@kernel.org, 2026-11-05
On Thu, 05 Nov 2026 10:08:32 +0000, netdev-bot+sashiko@kernel.org wrote:
Could the struct doc and the pse_control_get_netdev() doc mention the
locking requirement and the shared-PI NULL case?
Yes. In v4 the rule moves into the kernel-doc, and the comment in the
worker gets shorter, as Kory asked.
This is a pre-existing issue, but is the net_device itself still left
unprotected here?
Yes, the worker holds no reference on the net_device. This was the
same before the patch, which only fixes the phy_device part. I keep it
for a separate fix.

Carlo
Thread (32 messages) 32 messages, 3 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help