Cong Wang b905ef9ab9 llc: delete timers synchronously in llc_sk_free()
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@syzkaller.appspotmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-22 14:55:03 -04:00
..
2018-04-12 11:04:35 -07:00
2018-03-28 14:30:41 +10:00
2018-03-19 17:43:01 +00:00
2018-04-10 10:10:30 -07:00
2018-04-05 15:05:53 -07:00
2018-04-05 21:29:35 -07:00
2018-04-05 10:42:07 -07:00
2018-04-12 12:55:50 -07:00