Re: [PATCH 2/2] usbnet: Fix a race between usbnet_stop() and the BH

From: Oliver Neukum
Date: Tue Sep 01 2015 - 04:00:23 EST


On Mon, 2015-08-31 at 11:50 +0300, Eugene Shatokhin wrote:
> > But I would have liked it much better if the code became simpler
> instead
> > of more complex.
>
> Me too, but I can see no other way here. The code is simpler without
> locking, indeed, but locking is needed to prevent the problems
> described
> earlier.

On a practical note, will you resend the patch?

Regards
Oliver



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/