[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180422.145526.2100841756239290263.davem@davemloft.net>
Date: Sun, 22 Apr 2018 14:55:26 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [Patch net] llc: delete timers synchronously in llc_sk_free()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Thu, 19 Apr 2018 12:25:38 -0700
> The connection timers of an llc sock could be still flying
> after we delete them in llc_sk_free(), and even possibly
> after we free the sock. We could just wait synchronously
> here in case of troubles.
>
> Note, I leave other call paths as they are, since they may
> not have to wait, at least we can change them to synchronously
> when needed.
>
> Also, move the code to net/llc/llc_conn.c, which is apparently
> a better place.
>
> Reported-by: <syzbot+f922284c18ea23a8e457@...kaller.appspotmail.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists