Commit cd722282 authored by Sridhar Samudrala's avatar Sridhar Samudrala

[SCTP]: use dst_pmtu() to get the pmtu.

parent c02bf8ef
......@@ -267,7 +267,7 @@ void sctp_transport_route(sctp_transport_t *transport,
out:
transport->dst = dst;
if (dst)
transport->pmtu = dst->pmtu;
transport->pmtu = dst_pmtu(dst);
else
transport->pmtu = SCTP_DEFAULT_MAXSEGMENT;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment