remarkable-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 <andreyknvl@gmail.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-07 15:54:33 -05:00
..
asix.h
asix_common.c asix: silence log message from oversize packet 2015-12-18 16:08:35 -05:00
asix_devices.c
ax88172a.c asix: do not free array priv->mdio->irq 2016-03-06 22:56:48 -05:00
ax88179_178a.c
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c cdc-acm: fix NULL pointer reference 2016-01-09 21:00:24 -05:00
cdc_mbim.c net: cdc_ncm: avoid changing RX/TX buffers on MTU changes 2015-12-23 22:52:08 -05:00
cdc_ncm.c cdc_ncm: do not call usbnet_link_change from cdc_ncm_bind 2016-03-07 15:54:33 -05:00
cdc_subset.c
ch9200.c
cx82310_eth.c
dm9601.c
gl620a.c
hso.c
huawei_cdc_ncm.c
int51x1.c
ipheth.c
kalmia.c
kaweth.c
Kconfig USB: cdc_subset: only build when one driver is enabled 2016-02-18 15:59:45 -05:00
lan78xx.c lan78xx: throttle TX path at slower than SuperSpeed USB 2016-01-28 22:51:43 -08:00
lan78xx.h
lg-vl600.c
Makefile USB: cdc_subset: only build when one driver is enabled 2016-02-18 15:59:45 -05:00
mcs7830.c
net1080.c
pegasus.c
pegasus.h
plusb.c
qmi_wwan.c qmi_wwan: add Sierra Wireless EM74xx device ID 2016-03-03 16:31:52 -05:00
r8152.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-01-11 23:55:43 -05:00
rndis_host.c
rtl8150.c
sierra_net.c
smsc75xx.c
smsc75xx.h
smsc95xx.c
smsc95xx.h
sr9700.c
sr9700.h
sr9800.c
sr9800.h
usbnet.c usbnet: cleanup after bind() in probe() 2016-03-07 11:40:16 -05:00
zaurus.c