linux/drivers/net/usb
Wang Hai 6f7c886911 usbnet: fix error return code in usbnet_probe()
Return error code if usb_maxpacket() returns 0 in usbnet_probe()

Fixes: 397430b50a ("usbnet: sanity check for maxpacket")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211026124015.3025136-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-27 12:06:15 -07:00
..
aqc111.c net: usb: switch to dev_get_tstats64 and remove usbnet_get_stats64 alias 2020-11-12 14:58:27 -08:00
aqc111.h
asix_common.c net: asix: fix uninit value bugs 2021-08-18 11:46:52 +01:00
asix_devices.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-26 17:57:57 -07:00
asix.h net: usb: asix: ax88772: move embedded PHY detection as early as possible 2021-08-23 12:39:41 +01:00
ax88172a.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
ax88179_178a.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
catc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
cdc_eem.c net: cdc_eem: fix tx fixup skb leak 2021-06-17 11:30:25 -07:00
cdc_ether.c net: usb: Fix spelling mistakes 2021-06-01 17:05:05 -07:00
cdc_mbim.c net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920 2021-09-02 13:27:11 +01:00
cdc_ncm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-06-18 19:47:02 -07:00
cdc_subset.c
cdc-phonet.c phonet: use siocdevprivate 2021-07-27 20:11:43 +01:00
ch9200.c
cx82310_eth.c cx82310_eth: fix error return code in cx82310_bind() 2020-11-16 15:23:44 -08:00
dm9601.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
gl620a.c
hso.c net: hso: fix muxed tty registration 2021-09-17 11:19:58 +01:00
huawei_cdc_ncm.c usb: class: cdc-wdm: WWAN framework integration 2021-05-11 16:17:56 -07:00
int51x1.c net: usb: Fix spelling mistakes 2021-06-01 17:05:05 -07:00
ipheth.c drivers/net/usb: Remove all strcpy() uses 2021-08-03 11:48:28 +01:00
kalmia.c
kaweth.c net: usb: kaweth: Remove last user of kaweth_control() 2020-09-29 14:02:54 -07:00
Kconfig lan78xx: select CRC32 2021-10-15 14:34:35 +01:00
lan78xx.c net: lan78xx: fix division by zero in send path 2021-10-26 15:18:39 +01:00
lan78xx.h
lg-vl600.c net: usb: Fix spelling mistakes 2021-06-01 17:05:05 -07:00
Makefile r8153_ecm: avoid to be prior to r8152 driver 2020-11-19 08:23:46 -08:00
mcs7830.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
net1080.c net: usb: net1080: Remove in_interrupt() comment 2020-09-29 14:02:54 -07:00
pegasus.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-26 17:57:57 -07:00
pegasus.h
plusb.c
qmi_wwan.c net: usb: qmi_wwan: add Telit 0x1060 composition 2021-09-03 13:40:18 +01:00
r8152.c r8152: avoid to resubmit rx immediately 2021-10-05 12:38:39 +01:00
r8153_ecm.c r8153_ecm: Add Lenovo Powered USB-C Hub as a fallback of r8152 2021-01-12 20:00:51 -08:00
rndis_host.c net: usb: Fix spelling mistakes 2021-06-01 17:05:05 -07:00
rtl8150.c net: usb: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
sierra_net.c usbnet: add _mii suffix to usbnet_set/get_link_ksettings 2021-04-06 16:22:36 -07:00
smsc75xx.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
smsc75xx.h
smsc95xx.c smsc95xx: fix stalled rx after link change 2021-09-24 14:17:22 +01:00
smsc95xx.h
sr9700.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
sr9700.h
sr9800.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
sr9800.h
usbnet.c usbnet: fix error return code in usbnet_probe() 2021-10-27 12:06:15 -07:00
zaurus.c