Skip to content

Commit

Permalink
[NETLINK]: Use tgid instead of pid for nlmsg_pid
Browse files Browse the repository at this point in the history
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Nov 22, 2005
1 parent af2b407 commit c27bd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c27bd49

Please sign in to comment.