--- ./net/netlink/af_netlink.c.virt 2005-12-10 13:30:56.000000000 +0300 +++ ./net/netlink/af_netlink.c 2005-12-10 13:51:32.000000000 +0300 @@ -286,7 +286,7 @@ static int netlink_autobind(struct socke struct sock *sk = sock->sk; struct sock *osk; struct hlist_node *node; - s32 pid = current->pid; + s32 pid = virt_pid(current); int err; retry: