[PATCH net-next v2 0/2] netconsole: add locking to configfs _show callbacks

From: Gustavo Luiz Duarte

Date: Mon Oct 12 2026 - 13:57:07 EST


Patch 1 fixes a couple of reports from sashiko by adding proper locking
to configs read callbacks to avoid printing partially updated data.
Patch 2 is mostly cosmetic but worth fixing.

Signed-off-by: Gustavo Luiz Duarte <gustavold@xxxxxxxxx>
---
Changes in v2:
- Use target_list_lock instead of RTNL in dev_name_show().
- Link to v1: https://patch.msgid.link/20261006-netcons-fixes-next-v1-0-231cd26f8c51@xxxxxxxxx

---
Gustavo Luiz Duarte (2):
netconsole: avoid printing partially updated target attributes
netconsole: remove unnecessary target refcounting from the netdev notifier

drivers/net/netconsole.c | 94 ++++++++++++++++++++++++++----------------------
1 file changed, 52 insertions(+), 42 deletions(-)
---
base-commit: 29f144016f03608abfddcd6ebaeabafd7aeaadd2
change-id: 20261005-netcons-fixes-next-af0db028f570

Best regards,
--
Gustavo Luiz Duarte <gustavold@xxxxxxxxx>