mirror-linux/include/linux/usb
Oliver Neukum 04e906839a usbnet: fix cyclical race on disconnect with work queue
The work can submit URBs and the URBs can schedule the work.
This cycle needs to be broken, when a device is to be stopped.
Use a flag to do so.
This is a design issue as old as the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
CC: stable@vger.kernel.org
Link: https://patch.msgid.link/20240919123525.688065-1-oneukum@suse.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-09-26 10:54:42 +02:00
..
audio-v2.h usb: audio-v2: Correct comments for struct uac_clock_selector_descriptor 2024-01-27 16:53:38 -08:00
audio-v3.h
audio.h
c67x00.h
ccid.h
cdc-wdm.h
cdc.h
cdc_ncm.h
ch9.h
chipidea.h usb: chipidea: add CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flag 2023-10-21 12:45:45 +02:00
composite.h usb: gadget: clarify usage of USB_GADGET_DELAYED_STATUS 2023-10-02 16:43:04 +02:00
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: Use u16 types for 16-bit fields 2024-07-10 13:56:22 +02:00
gadget_configfs.h
hcd.h workqueue: BH workqueue conversions for v6.9 2024-03-11 13:05:19 -07:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
ljca.h usb: Add support for Intel LJCA device 2023-10-11 11:33:37 +02:00
m66592.h
midi-v2.h
musb-ux500.h
musb.h
net2280.h
of.h usb: core: Set connect_type of ports based on DT node 2024-03-05 13:28:46 +00:00
ohci_pdriver.h
onboard_dev.h usb: misc: onboard_hub: rename to onboard_dev 2024-03-27 07:57:16 +01:00
otg-fsm.h
otg.h
pd.h usb: typec: tcpm: add control message support to sop' 2024-01-27 17:38:25 -08:00
pd_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h usb: typec: pd: no opencoding of FIELD_GET 2024-03-05 13:09:59 +00:00
phy.h Revert "usb: phy: add usb phy notify port status API" 2023-11-06 14:47:36 +01:00
phy_companion.h
quirks.h usb: new quirk to reduce the SET_ADDRESS request timeout 2023-11-23 12:32:44 +00:00
r8a66597.h
r8152.h r8152: add vendor/device ID pair for ASUS USB-C2500 2023-12-06 10:38:38 +01:00
renesas_usbhs.h usb: renesas_usbhs: Remove renesas_usbhs_get_info() wrapper 2024-04-18 16:47:49 +02:00
rndis_host.h
role.h
rzv2m_usb3drd.h
serial.h
sl811.h
storage.h
tcpci.h usb: typec: tcpci: add support to set connector orientation 2024-07-03 16:05:38 +02:00
tcpm.h usb: typec: tcpm: add support to set tcpc connector orientatition 2024-03-05 13:29:30 +00:00
tegra_usb_phy.h usb: phy: tegra: Replace of_gpio.h by proper one 2024-05-10 10:36:31 +01:00
typec.h usb: typec: Update sysfs when setting ops 2024-06-04 15:44:27 +02:00
typec_altmode.h usb: typec: altmodes: add svdm version info for typec cables 2024-01-27 17:38:25 -08:00
typec_dp.h usb: typec: pd: no opencoding of FIELD_GET 2024-03-05 13:09:59 +00:00
typec_mux.h
typec_retimer.h
typec_tbt.h USB: typec: no opencoding FIELD_GET 2024-03-02 20:20:41 +01:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h usbnet: fix cyclical race on disconnect with work queue 2024-09-26 10:54:42 +02:00
uvc.h
webusb.h
xhci-dbgp.h