lkml.org 
[lkml]   [2019]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] net: netrom: Fix error cleanup path of nr_proto_init
From
From: Yue Haibing <yuehaibing@huawei.com>
Date: Tue, 9 Apr 2019 19:53:55 +0800

> From: YueHaibing <yuehaibing@huawei.com>
>
> Syzkaller report this:
...
> If nr_proto_init failed, it may forget to call proto_unregister,
> tiggering this issue.This patch rearrange code of nr_proto_init
> to avoid such issues.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> v2: fix compile warnings

Applied.

\
 
 \ /
  Last update: 2019-04-11 23:01    [W:0.044 / U:15.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site