diff options
author | Oliver Neukum <[email protected]> | 2020-09-17 12:34:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-09-17 18:45:30 +0200 |
commit | 9cdabcb3ef8c24ca3a456e4db7b012befb688e73 (patch) | |
tree | 2c7043613f45b20b4f325f66855618056407f2b4 /net/switchdev/switchdev.c | |
parent | 29231826f3bd65500118c473fccf31c0cf14dbc0 (diff) |
usblp: fix race between disconnect() and read()
read() needs to check whether the device has been
disconnected before it tries to talk to the device.
Signed-off-by: Oliver Neukum <[email protected]>
Reported-by: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions