Re: [RFC][PATCH 1/5] pid: Implement ns_of_pid

From: Valdis . Kletnieks
Date: Tue Dec 02 2008 - 19:36:19 EST


On Tue, 02 Dec 2008 12:58:41 +0100, Bastian Blank said:

> pid is a function argument and the function does not call detach_pid. So
> please try again.

What he means is that if some *other* function calls detach_pid() and then
something calls the ns_of_pid() function, it may be getting passed a null.

Note that the detach_pid() and ns_of_pid() may even be racing on two totally
separate CPUs, doing different things...

Attachment: pgp00000.pgp
Description: PGP signature