[Letux-kernel] [PATCH RFC] net: hso: register netdev later to avoid a race condition

Andreas Kemnade andreas at kemnade.info
Mon Apr 24 22:41:29 CEST 2017


On Mon, 24 Apr 2017 22:36:11 +0200
Andreas Kemnade <andreas at kemnade.info> wrote:

> If the netdev is accessed before the urbs are initialized,
> there will be NULL pointer dereferences
> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>

this should be a replacement for

 drivers: net: hso: hack to avoid NULL pointer dereferencing - the reason is unknown. Perhaps some race condition in the USB stack?

I cannot reproduce the problem here even without that hack patch. There
was some dhcpd running? How was it started?
A recent backtrace forthe commit message would also be nice when I
try to upstream this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170424/3eb997d6/attachment-0001.asc>

More information about the Letux-kernel mailing list