]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/tty/ipwireless/tty.c
TTY: ipwireless, use synchronous hangup
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:31 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:30:39 +0000 (11:30 -0700)
commitde3a60a3436ebfd780ced830cd09880ea9c45957
tree80f376129cc276547dcbbfd08903e612e36e61e1
parentdaea440215ae86bf9fdfe82420710ae749eb73c7
TTY: ipwireless, use synchronous hangup

Do not touch internal workqueue. Call tty_vhangup instead.

Note that finished hangup does not necessarily mean that all processes
are dead. Especially when the tty is a console. The code assumes that
right now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jiri Kosina <jkosina@suse.cz>
Acked-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/ipwireless/tty.c