lkml.org 
[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH net] drivers/net/wan/x25_asy: Keep the ldisc running even when netif is down
On Mon, Sep 28, 2020 at 3:58 PM David Miller <davem@davemloft.net> 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.

\
 
 \ /
  Last update: 2020-09-29 02:37    [W:0.040 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site