projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2b407
)
[NETLINK]: Use tgid instead of pid for nlmsg_pid
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 22 Nov 2005 22:41:50 +0000
(14:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Nov 2005 22:41:50 +0000
(14:41 -0800)
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c
patch
|
blob
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index 8c38ee6d255eb04aa2ddab13b8d3e448b71dec53..96020d7087e8f131c3ebab3d6d0355cc595809fd 100644
(file)
--- a/
net/netlink/af_netlink.c
+++ b/
net/netlink/af_netlink.c
@@
-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->
p
id;
+ s32 pid = current->
tg
id;
int err;
static s32 rover = -4097;