Re: [PATCH] tools: usb: p9_fwd: Send complete requests to the TCP server

From: Dominique Martinet

Date: Mon Nov 23 2026 - 15:52:11 EST


Michael Grzeschik wrote on Mon, Nov 23, 2026 at 04:16:21PM +0100:
> On Mon, Nov 23, 2026 at 09:59:59AM +0900, Dominique Martinet wrote:
> > Zhu Jun wrote on Fri, Nov 20, 2026 at 02:19:37PM +0800:
> > > socket.send() can return after sending only a prefix of a request.
> > > The forwarder ignores that result and waits for a response to an
> > > incomplete message. Use sendall() so request forwarding completes
> > > only once all bytes have been sent or a write error is reported.
> > >
> > > Fixes: 673f0c3ffc75 ("tools: usb: p9_fwd: add usb gadget packet forwarder script")
> > > Signed-off-by: Zhu Jun <zhujun2@xxxxxxxxxxxxxxxxxxxx>
> >
> > Thank you, picked up
>
> gregkh already picked it to usb-next

Oh.
Dropped from 9p-next, thanks for the heads up.

--
Dominique