Searched refs:peersk (Results 1 – 1 of 1) sorted by relevance
690 static void copy_peercred(struct sock *sk, struct sock *peersk) in copy_peercred() argument695 if (sk < peersk) { in copy_peercred()697 spin_lock_nested(&peersk->sk_peer_lock, SINGLE_DEPTH_NESTING); in copy_peercred()699 spin_lock(&peersk->sk_peer_lock); in copy_peercred()704 sk->sk_peer_pid = get_pid(peersk->sk_peer_pid); in copy_peercred()705 sk->sk_peer_cred = get_cred(peersk->sk_peer_cred); in copy_peercred()708 spin_unlock(&peersk->sk_peer_lock); in copy_peercred()