Searched refs:oldsk (Results 1 – 2 of 2) sorted by relevance
905 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() local913 if (sctp_style(oldsk, TCP)) in sctp_assoc_migrate()914 oldsk->ack_backlog--; in sctp_assoc_migrate()
4677 static void sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument4681 struct sctp_opt *oldsp = sctp_sk(oldsk); in sctp_sock_migrate()4690 newsk->sndbuf = oldsk->sndbuf; in sctp_sock_migrate()4691 newsk->rcvbuf = oldsk->rcvbuf; in sctp_sock_migrate()4701 newsk->num = oldsk->num; in sctp_sock_migrate()4706 sctp_skb_for_each(skb, &oldsk->receive_queue, tmp) { in sctp_sock_migrate()4723 if (sctp_sk(oldsk)->pd_mode) { in sctp_sock_migrate()4747 sctp_clear_pd(oldsk); in sctp_sock_migrate()