Home
last modified time | relevance | path

Searched refs:old_peer (Results 1 – 1 of 1) sorted by relevance

/linux/net/unix/
H A Daf_unix.c1574 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect() local
1579 unix_dgram_peer_wake_disconnect_wakeup(sk, old_peer); in unix_dgram_connect()
1583 if (other != old_peer) { in unix_dgram_connect()
1584 unix_dgram_disconnected(sk, old_peer); in unix_dgram_connect()
1586 unix_state_lock(old_peer); in unix_dgram_connect()
1587 if (!unix_peer(old_peer)) in unix_dgram_connect()
1588 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect()
1589 unix_state_unlock(old_peer); in unix_dgram_connect()
1592 sock_put(old_peer); in unix_dgram_connect()