[Letux-kernel] [PATCH RFC] net: hso: register netdev later to avoid a race condition
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
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Letux-kernel