Files
linux/drivers/net/usb
Bjørn Mork 4d06dd537f cdc_ncm: do not call usbnet_link_change from cdc_ncm_bind
usbnet_link_change will call schedule_work and should be
avoided if bind is failing. Otherwise we will end up with
scheduled work referring to a netdev which has gone away.

Instead of making the call conditional, we can just defer
it to usbnet_probe, using the driver_info flag made for
this purpose.

Fixes: 8a34b0ae87 ("usbnet: cdc_ncm: apply usbnet_link_change")
Reported-by: Andrey Konovalov <[email protected]>
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Bjørn Mork <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2016-03-07 15:54:33 -05:00
..
…
2015-09-15 12:43:49 -07:00
…
…
…
…
…
…
…
2015-09-22 16:14:32 -07:00
2015-09-22 16:14:32 -07:00
…
…