mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[NETLINK]: Use tgid instead of pid for nlmsg_pid
Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
af2b4079ab
commit
c27bd492fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue