[PATCH 00/11] net/9p/usbg: series of fixes
From: Michael Grzeschik
Date: Thu Mar 19 2026 - 05:43:39 EST
This series contains a bunch of patches to make the trans_usbg
interface more reliable. It adds some extra checks on critical
pathes and also solves the overall synchronisation of the daemon
with the gadget. The forwarder script also gained the daemon mode to
be run and recover any kind of disconnection.
Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
---
Hyungjung Joo (1):
net/9p/usbg: clear stale client pointer on close
Michael Grzeschik (10):
net/9p/usbg: also disable endpoints on p9_usbg_close
net/9p/usbg: set client to Disconnected on usb9pfs_disable
net/9p/usbg: always reset completion when disconnecting
net/9p/usbg: only rely on one completion
net/9p/usbg: add timeout for usbg_request
net/9p/usbg: add extra interface for status change
tools/usb/p9_fwd: catch if claim_interface is not working
tools/usb/p9_fwd: catch write or read errors on disconnect
tools/usb/p9_fwd: add daemon loop
tools/usb/p9_fwd: set new introduced alt mode 1 on interface 1
net/9p/trans_usbg.c | 211 +++++++++++++++++++++++++++++++++++++++++-----------
tools/usb/p9_fwd.py | 67 +++++++++++++----
2 files changed, 218 insertions(+), 60 deletions(-)
---
base-commit: 8a30aeb0d1b4e4aaf7f7bae72f20f2ae75385ccb
change-id: 20260128-9pfixes-442c28f40622
Best regards,
--
Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>