aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2013-03-19 09:21:13 +0100
committerGreg Kroah-Hartman <[email protected]>2013-03-21 15:59:03 -0700
commit356050d8b1e526db093e9d2c78daf49d6bf418e3 (patch)
tree091d162599ad794ea532afed538b734f6a96695a /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parentfa1e11d5231c001c80a479160b5832933c5d35fb (diff)
USB: cypress_m8: fix use-after-free in TIOCMIWAIT
Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Also remove bogus test for private data pointer being NULL as it is never assigned in the loop. Cc: stable <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions