Date: Tue, 17 May 2011 15:57:31 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222029 - head/sys/netinet Message-ID: <201105171557.p4HFvVQh037536@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Tue May 17 15:57:31 2011 New Revision: 222029 URL: http://svn.freebsd.org/changeset/base/222029 Log: Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO. MFC after: 1 week. Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c ============================================================================== --- head/sys/netinet/sctp_usrreq.c Tue May 17 15:46:28 2011 (r222028) +++ head/sys/netinet/sctp_usrreq.c Tue May 17 15:57:31 2011 (r222029) @@ -2489,6 +2489,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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105171557.p4HFvVQh037536>