Re: [NETLINK]: Use tgid instead of pid for nlmsg_pid
From: David S. Miller
Date: Tue Nov 22 2005 - 17:43:06 EST
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Nov 2005 09:16:27 +1100
> Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx> wrote:
> > I agree, apparently netlink_autobind was missed when sed'ing pid->tgid.
> > Of course, it does not matter, but tgid is nicer choice from user's viewpoint.
> Great, here is the patch to do just that.
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Applied, of course.
I can't for the life of me figure out how we missed this when
we fixed up all the current->pid references under net/.
Ulrich Drepper let us know that the problem existed, and
I was sure we eliminated all such cases.
It is possible we accidently reintroduced current->pid when
we redid all of the netlink hashing. :-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/