svn commit: r231438 - stable/8/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Fri Feb 10 21:03:18 UTC 2012
Author: tuexen
Date: Fri Feb 10 21:03:17 2012
New Revision: 231438
URL: http://svn.freebsd.org/changeset/base/231438
Log:
MFC r222029:
Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO.
Modified:
stable/8/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/boot/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/e1000/ (props changed)
Modified: stable/8/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/8/sys/netinet/sctp_usrreq.c Fri Feb 10 21:03:04 2012 (r231437)
+++ stable/8/sys/netinet/sctp_usrreq.c Fri Feb 10 21:03:17 2012 (r231438)
@@ -2486,6 +2486,7 @@ flags_out:
paddri->spinfo_srtt = net->lastsa >> SCTP_RTT_SHIFT;
paddri->spinfo_rto = net->RTO;
paddri->spinfo_assoc_id = sctp_get_associd(stcb);
+ paddri->spinfo_mtu = net->mtu;
SCTP_TCB_UNLOCK(stcb);
} else {
if (stcb) {
More information about the svn-src-stable
mailing list