Re: [Patch net] netrom: switch to sock timer API

2019-01-27 Thread David Miller
From: Cong Wang Date: Thu, 24 Jan 2019 14:18:18 -0800 > sk_reset_timer() and sk_stop_timer() properly handle > sock refcnt for timer function. Switching to them > could fix a refcounting bug reported by syzbot. > > Reported-and-tested-by: syzbot+defa700d16f1bd1b9...@syzkaller.appspotmail.com > C

[Patch net] netrom: switch to sock timer API

2019-01-24 Thread Cong Wang
sk_reset_timer() and sk_stop_timer() properly handle sock refcnt for timer function. Switching to them could fix a refcounting bug reported by syzbot. Reported-and-tested-by: syzbot+defa700d16f1bd1b9...@syzkaller.appspotmail.com Cc: Ralf Baechle Cc: linux-h...@vger.kernel.org Signed-off-by: Cong