summaryrefslogtreecommitdiff
path: root/include/linux/usb/usb338x.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2024-09-19 15:33:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-04 17:29:50 +0300
commit1e44ee6cdd123d6cfe78b4a94e1572e23bbb58ce (patch)
treea1bdb4c494da1a6d269f3fc9952d46a2046a5089 /include/linux/usb/usb338x.h
parentd71300d07f398f0db3b85dd3a59a3b5974a353a9 (diff)
downloadlinux-1e44ee6cdd123d6cfe78b4a94e1572e23bbb58ce.tar.xz
usbnet: fix cyclical race on disconnect with work queue
commit 04e906839a053f092ef53f4fb2d610983412b904 upstream. 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: 1da177e4c3f4 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/usb338x.h')
0 files changed, 0 insertions, 0 deletions