Searched refs:oldsk (Results 1 – 2 of 2) sorted by relevance
6706 static void sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument6710 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 …]
1087 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() local1095 if (sctp_style(oldsk, TCP)) in sctp_assoc_migrate()1096 oldsk->sk_ack_backlog--; in sctp_assoc_migrate()