commit | 63346650c1a94a92be61a57416ac88c0a47c4327 | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Thu Jan 24 14:18:18 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 27 10:38:04 2019 -0800 |
tree | 8591f2e324c4f3e77c2f6700f3f041be661219dd | |
parent | c303a9b297fab7ab874fed35f7fd5d9ab559edca [diff] |
netrom: switch to sock timer API 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+defa700d16f1bd1b9a05@syzkaller.appspotmail.com Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-hams@vger.kernel.org Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>