Re: [PATCH net-next] usbnet: fix cyclical race on disconnect with work queue

From: Simon Horman
Date: Thu Mar 28 2024 - 10:10:01 EST


On Wed, Mar 27, 2024 at 04:10:36PM +0100, Oliver Neukum wrote:
>
>
> On 3/22/24 18:43, Sai Krishna Gajula wrote:
> >
> > > -----Original Message-----
> > > From: Oliver Neukum <oneukum@xxxxxxxx>
> > > Sent: Thursday, March 21, 2024 6:17 PM
> > > To: davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; kuba@xxxxxxxxxx;
> > > pabeni@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx;
> > > linux-kernel@xxxxxxxxxxxxxxx
> > > Cc: Oliver Neukum <oneukum@xxxxxxxx>;
> > > syzbot+9665bf55b1c828bbcd8a@xxxxxxxxxxxxxxxxxxxxxxxxx
> > > Subject: [PATCH net-next] usbnet: fix cyclical race on disconnect
> > > with work queue
> >
> > This patch seems to be a fix, in that case the subject need to be with [PATCH net]
>
> OK
> >
> > >
> > > The work can submit URBs and the URBs can schedule the work.
> > > This cycle needs to be broken, when a device is to be stopped.
> > > Use a flag to do so.
> > >
> > > Fixes: f29fc259976e9 ("[PATCH] USB: usbnet (1/9) clean up framing")
> >
> > Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")' - ie: 'Fixes: f29fc259976e ("[PATCH] USB: usbnet (1/9) clean up framing")'
>
> Ehm, what exactly did I do differently

I think the point being made is that the hash has 13 rather than 12
characters. But, IMHO, that is fine because my understanding is that the
requirement is that the hash is at least, not exactly, 12 characters long.

..