• Andrew Morton's avatar
    [PATCH] Fix race on tty close · e829d2e4
    Andrew Morton authored
    From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    
    ldisc close can race with the flush_to_ldisc workqueue.
    
    This patch fixes it by killing the workqueue first.
    e829d2e4
tty_io.c 60.8 KB