OpenCloudOS-Kernel/drivers/net/usb
Hayes Wang baf33d7a75 r8152: avoid to resubmit rx immediately
For the situation that the disconnect event comes very late when the
device is unplugged, the driver would resubmit the RX bulk transfer
after getting the callback with -EPROTO immediately and continually.
Finally, soft lockup occurs.

This patch avoids to resubmit RX immediately. It uses a workqueue to
schedule the RX NAPI. And the NAPI would resubmit the RX. It let the
disconnect event have opportunity to stop the submission before soft
lockup.

Reported-by: Jason-ch Chen <jason-ch.chen@mediatek.com>
Tested-by: Jason-ch Chen <jason-ch.chen@mediatek.com>
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-05 12:38:39 +01:00
..
Kconfig net: usb: asix: ax88772: add generic selftest support 2021-06-07 13:23:02 -07:00
Makefile r8153_ecm: avoid to be prior to r8152 driver 2020-11-19 08:23:46 -08: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 net: usb: aqc111: Use the correct style for SPDX License Identifier 2019-11-27 11:27:01 -08:00
asix.h net: usb: asix: ax88772: move embedded PHY detection as early as possible 2021-08-23 12:39:41 +01:00
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
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-phonet.c phonet: use siocdevprivate 2021-07-27 20:11:43 +01: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
ch9200.c net: ch9200: remove unnecessary return 2020-01-07 13:30:36 -08:00
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
lan78xx.c lan78xx: Limit number of driver warning messages 2021-08-25 10:55:43 +01:00
lan78xx.h
lg-vl600.c net: usb: Fix spelling mistakes 2021-06-01 17:05:05 -07: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 drivers/net/usb: Remove all strcpy() uses 2021-08-03 11:48:28 +01:00
zaurus.c