Searched refs:old_peer (Results 1 – 1 of 1) sorted by relevance
1480 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect() local1485 unix_dgram_peer_wake_disconnect_wakeup(sk, old_peer); in unix_dgram_connect()1489 if (other != old_peer) { in unix_dgram_connect()1490 unix_dgram_disconnected(sk, old_peer); in unix_dgram_connect()1492 unix_state_lock(old_peer); in unix_dgram_connect()1493 if (!unix_peer(old_peer)) in unix_dgram_connect()1494 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect()1495 unix_state_unlock(old_peer); in unix_dgram_connect()1498 sock_put(old_peer); in unix_dgram_connect()