[PATCH 4.4 31/41] ipack: ipoctal: fix tty registration race