dect
/
linux-2.6
Archived
13
0
Fork 0

[NETLINK]: Use tgid instead of pid for nlmsg_pid

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Herbert Xu 2005-11-22 14:41:50 -08:00 committed by David S. Miller
parent af2b4079ab
commit c27bd492fd
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ static int netlink_autobind(struct socket *sock)
struct hlist_head *head;
struct sock *osk;
struct hlist_node *node;
s32 pid = current->pid;
s32 pid = current->tgid;
int err;
static s32 rover = -4097;