summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 08:21:26 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-21 22:59:05 (GMT)
commitfc98ab873aa3dbe783ce56a2ffdbbe7c7609521a (patch)
tree8a59e188a28a92b02d424589fc039e80aa2b2890 /include
parent43a66b4c417ad15f6d2f632ce67ad195bdf999e8 (diff)
downloadlinux-fsl-qoriq-fc98ab873aa3dbe783ce56a2ffdbbe7c7609521a.tar.xz
USB: ti_usb_3410_5052: 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. Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions