diff options
author | Johan Hovold <johan@kernel.org> | 2020-10-26 09:25:48 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-11-04 11:07:48 +0100 |
commit | 985616f0457d9f555fff417d0da56174f70cc14f (patch) | |
tree | 644f63bec1724210c01fd46fe9064b3f32390624 /samples/nitro_enclaves | |
parent | a46b973bced1ba57420752bf38426acd9f6cbfa6 (diff) |
USB: serial: cyberjack: fix write-URB completion race
The write-URB busy flag was being cleared before the completion handler
was done with the URB, something which could lead to corrupt transfers
due to a racing write request if the URB is resubmitted.
Fixes: 507ca9bc0476 ("[PATCH] USB: add ability for usb-serial drivers to determine if their write urb is currently being used.")
Cc: stable <stable@vger.kernel.org> # 2.6.13
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'samples/nitro_enclaves')
0 files changed, 0 insertions, 0 deletions