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.c1570 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect() local
1575 unix_dgram_peer_wake_disconnect_wakeup(sk, old_peer); in unix_dgram_connect()
1579 if (other != old_peer) { in unix_dgram_connect()
1580 unix_dgram_disconnected(sk, old_peer); in unix_dgram_connect()
1582 unix_state_lock(old_peer); in unix_dgram_connect()
1583 if (!unix_peer(old_peer)) in unix_dgram_connect()
1584 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect()
1585 unix_state_unlock(old_peer); in unix_dgram_connect()
1588 sock_put(old_peer); in unix_dgram_connect()