Commit c27bd492 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[NETLINK]: Use tgid instead of pid for nlmsg_pid

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent af2b4079
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment