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)
commit2116bda6ad937d7acb6e2316fd9e65ad6ca01d42
treedc9b20f4bc76b335e8a395b4248f50ac2d3935dc
parentcc4f02486c09977ccbe3ce2276aca5608a44ca00
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