diff --git a/net/sctp/transport.c b/net/sctp/transport.c index 6bc27200e6cafc8251ebc50b3bac6521a943abf6..268ddaf2dc0f6baa8ca2f5ccf0c6a7bf5b98d480 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c @@ -261,7 +261,8 @@ void sctp_transport_route(struct sctp_transport *transport, * association's active path for getsockname(). */ if (asoc && (transport == asoc->peer.active_path)) - af->to_sk_saddr(&transport->saddr, asoc->base.sk); + opt->pf->af->to_sk_saddr(&transport->saddr, + asoc->base.sk); } else transport->pmtu = SCTP_DEFAULT_MAXSEGMENT; }