[PATCH 5.4 37/56] ipack: ipoctal: fix tty registration race