diff options
author | Oliver Neukum <oneukum@suse.com> | 2020-08-05 14:07:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-06 02:43:39 +0200 |
commit | abaf00ff04625275a40e407fc8da04948ae4f95b (patch) | |
tree | 2b4aa367b7682896b917857054c52e037b90a2dc /fs/cifs/smb2misc.c | |
parent | usb: hso: no complaint about kmalloc failure (diff) | |
download | linux-abaf00ff04625275a40e407fc8da04948ae4f95b.tar.xz linux-abaf00ff04625275a40e407fc8da04948ae4f95b.zip |
usb: hso: remove bogus check for EINPROGRESS
This check an inherent race. It opens a race where
an error code has already been set or cleared yet
the URB has not been given back. We cannot do
such an optimization and must unlink unconditionally.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/cifs/smb2misc.c')
0 files changed, 0 insertions, 0 deletions