Re: [PATCH] kernfs: handle null pointers while printing node name and path

From: Konstantin Khlebnikov
Date: Wed Feb 08 2017 - 08:27:43 EST




On 08.02.2017 16:23, Greg Kroah-Hartman wrote:
On Wed, Feb 08, 2017 at 03:59:06PM +0300, Konstantin Khlebnikov wrote:


On 08.02.2017 15:51, Greg Kroah-Hartman wrote:
On Wed, Feb 08, 2017 at 02:28:55PM +0300, Konstantin Khlebnikov wrote:
Null kernfs nodes could be found at cgroups during construction.

Really? Does this happen today? Is this an issue for older kernels as
well?

This happended again recently: https://lkml.org/lkml/2017/1/26/126
LTP easily crashes everything since 4.6

Why did you drop the "Fixes:" and cc: stable line from the patch you
sent me? That would have saved me asking you this :(

No, this _was_ proposed as a fix but now bug fixed differently right in cgroups.
Now this patch just a cleanup / safer api.


Care to fix this up and send a new version with that info in it?

thanks,

greg k-h