Home
last modified time | relevance | path

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

/net/sctp/
Dsocket.c6706 static void sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument
6710 struct sctp_sock *oldsp = sctp_sk(oldsk); in sctp_sock_migrate()
6721 newsk->sk_sndbuf = oldsk->sk_sndbuf; in sctp_sock_migrate()
6722 newsk->sk_rcvbuf = oldsk->sk_rcvbuf; in sctp_sock_migrate()
6724 inet_sk_copy_descendant(newsk, oldsk); in sctp_sock_migrate()
6733 head = &sctp_port_hashtable[sctp_phashfn(inet_sk(oldsk)->num)]; in sctp_sock_migrate()
6736 pp = sctp_sk(oldsk)->bind_hash; in sctp_sock_migrate()
6739 inet_sk(newsk)->num = inet_sk(oldsk)->num; in sctp_sock_migrate()
6752 sctp_skb_for_each(skb, &oldsk->sk_receive_queue, tmp) { in sctp_sock_migrate()
6756 __skb_unlink(skb, &oldsk->sk_receive_queue); in sctp_sock_migrate()
[all …]
Dassociola.c1087 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() local
1095 if (sctp_style(oldsk, TCP)) in sctp_assoc_migrate()
1096 oldsk->sk_ack_backlog--; in sctp_assoc_migrate()