aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-11-22 17:41:50 -0500
committerDavid S. Miller <davem@davemloft.net>2005-11-22 17:41:50 -0500
commitc27bd492fd84c590767a3c0f9f74e637b17af138 (patch)
tree7a95483c2dbff6a80155a37e893559c2d8e3016f /net
parentaf2b4079ab154bd12e8c12b02db5f31b31babe63 (diff)
[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>
Diffstat (limited to 'net')
-rw-r--r--net/netlink/af_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 8c38ee6d255e..96020d7087e8 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -476,7 +476,7 @@ static int netlink_autobind(struct socket *sock)
476 struct hlist_head *head; 476 struct hlist_head *head;
477 struct sock *osk; 477 struct sock *osk;
478 struct hlist_node *node; 478 struct hlist_node *node;
479 s32 pid = current->pid; 479 s32 pid = current->tgid;
480 int err; 480 int err;
481 static s32 rover = -4097; 481 static s32 rover = -4097;
482 482