[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170518.100608.733334484371439292.davem@davemloft.net>
Date: Thu, 18 May 2017 10:06:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiaolou4617@...il.com
Cc: andrew.hendry@...il.com, linux-x25@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v3] net: x25: fix one potential use-after-free issue
From: linzhang <xiaolou4617@...il.com>
Date: Wed, 17 May 2017 12:05:07 +0800
> The function x25_init is not properly unregister related resources
> on error handler.It is will result in kernel oops if x25_init init
> failed, so add properly unregister call on error handler.
>
> Also, i adjust the coding style and make x25_register_sysctl properly
> return failure.
>
> Signed-off-by: linzhang <xiaolou4617@...il.com>
Applied, thanks.
Powered by blists - more mailing lists