> Since tty_do_resize() cannot be called holding the hp spinlock; the code uses > now tty_kref_get/put to keep track of the tty object. I am not sure if the > use of the kref's is correct here, so please let me know if there is a better > solution.
That looks right to me, hp->tty can go NULL but the tty object itself will still have a reference even if the asynchronous events kick off late _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev