summaryrefslogtreecommitdiff
path: root/drivers/dio
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-09-19 13:13:23 -0700
committerLive-CD User <linux@linux.site>2009-09-19 13:13:23 -0700
commitd2b391822a11302add9e46476f3da4e18e6de84c (patch)
tree26cd352e935d0cf3c65181d78f9af86b21b48e79 /drivers/dio
parent9b80fee149a875a6292b2556ab2c64dc7ab7d6f5 (diff)
downloadlinux-3.10-d2b391822a11302add9e46476f3da4e18e6de84c.tar.gz
linux-3.10-d2b391822a11302add9e46476f3da4e18e6de84c.tar.bz2
linux-3.10-d2b391822a11302add9e46476f3da4e18e6de84c.zip
tty: USB hangup is racy
The USB layer uses tty_hangup to deal with unplugs of the physical hardware (analogous to loss of carrier) and then frees the resources. However the tty_hangup is asynchronous. As the hangup can sleep we can use tty_vhangup which is the non async version to avoid freeing resources too early. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions