Re: [PATCH net] drivers/net/wan/x25_asy: Keep the ldisc running even when netif is down

From: Xie He
Date: Mon Sep 28 2020 - 20:36:26 EST


On Mon, Sep 28, 2020 at 3:58 PM David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> It could also go back down and also back up again after you do this
> test. Maybe even 10 or 100 times over.
>
> You can't just leave things so incredibly racy like this, please apply
> proper synchronization between netdev state changes and this TTY code.
>
> Thank you.

OK! Thanks!

I'll try to ensure proper locking for the netif_running checks and re-submit.