Skip to content
Commit 2c45b6fe authored by Adam Oldham's avatar Adam Oldham Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: Fix race condition in usblp_write



Initialize status fields in the read and write urbs to prevent a race
condition with open/read/close - open/write/close sequences.

Fixes bug #4432 at bugzilla.kernel.org

Signed-off-by: default avatarAdam Oldham <oldhamca@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5da0106f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment