]> git.baikalelectronics.ru Git - kernel.git/commit
um: Use tty_port in SIGWINCH handler
authorRichard Weinberger <richard@nod.at>
Mon, 11 Mar 2013 09:05:45 +0000 (10:05 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 11 Mar 2013 09:08:04 +0000 (10:08 +0100)
commit069e84b98077546505e70f750067dfd615cb78c9
treedc9b20f4bc76b335e8a395b4248f50ac2d3935dc
parent2b06d00455e9c935e5e3056087ec50142bdb1b68
um: Use tty_port in SIGWINCH handler

The tty below tty_port might get destroyed by the tty layer
while we hold a reference to it.
So we have to carry tty_port around...

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/chan.h
arch/um/drivers/chan_kern.c
arch/um/drivers/chan_user.c
arch/um/drivers/chan_user.h
arch/um/drivers/line.c