commit | c27bd492fd84c590767a3c0f9f74e637b17af138 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Nov 22 14:41:50 2005 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 22 14:41:50 2005 -0800 |
tree | 7a95483c2dbff6a80155a37e893559c2d8e3016f | |
parent | af2b4079ab154bd12e8c12b02db5f31b31babe63 [diff] [blame] |
[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>
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 8c38ee6..96020d7 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c
@@ -476,7 +476,7 @@ 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;