Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[NETLINK]: Use tgid instead of pid for nlmsg_pid

parent af2b4079
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;