mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
[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:
parent
af2b4079ab
commit
c27bd492fd
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user