• Andrew Morton's avatar
    [PATCH] fix tty shutdown race · 59b6573c
    Andrew Morton authored
    use-after-free races have been seen due to the workqueue timer in the tty
    structure going off after the tty was freed.
    
    Fix that up by using cancel_scheduled_work() and flush_scheduled_work().
    59b6573c
tty_io.c 58.9 KB