[Devel] Re: [PATCH 1/2] netns: fix NULL-dereference in dev_net()

Denis V. Lunev den at parallels.com
Thu Aug 14 13:20:07 PDT 2008


On Thu, 2008-08-14 at 15:27 -0400, Brian Haley wrote:
> Change dev_net() to handle a NULL argument - return &init_net instead.
> 
> -Brian
> 
> Signed-off-by: Brian Haley <brian.haley at hp.com>
> ---
> 
the code is designed keeping in mind that there are no checks for
	net != NULL
in any place. They are too expensive. We need to invent other way :(

Regards,
	Den

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list