Thread (7 messages) 7 messages, 4 authors, 2025-10-28

Re: [PATCH net 2/2] net: hns3: fix null pointer in debugfs issue

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-10-28 00:54:53
Also in: lkml

On Thu, 23 Oct 2025 21:13:38 +0800 Jijie Shao wrote:
Currently, when debugfs and reset are executed concurrently,
some resources are released during the reset process,
which may cause debugfs to read null pointers or other anomalies.

Therefore, in this patch, interception protection has been added
to debugfs operations that are sensitive to reset.
You need to explain what prevents the state from changing immediately
after you did the bit check. With no obvious locking in place I don't
see how this reliably fixes the issue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help