[Linux-stable-mirror] [PATCH 4.9 098/177] tty: fix data race in tty_ldisc_ref_wait()