X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fnetlink%2Faf_netlink.c;h=6464a1972a69dc649099fbd05a7ca5d56708b790;hb=4a35ecf8bf1c4b039503fa554100fe85c761de76;hp=795424396aff62fba6971aaff0eb6631965ce481;hpb=fb9e2d887243499b8d28efcf80821c4f6a092395;p=firefly-linux-kernel-4.4.55.git diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 795424396aff..6464a1972a69 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -545,7 +545,7 @@ static int netlink_autobind(struct socket *sock) struct hlist_head *head; struct sock *osk; struct hlist_node *node; - s32 pid = current->tgid; + s32 pid = task_tgid_vnr(current); int err; static s32 rover = -4097;