diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-05-17 15:57:31 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-05-17 15:57:31 +0000 |
commit | dd891455b5dab960e935f16c355eba415f62f08c (patch) | |
tree | d1b59cbdfc61b7c1b1e4ba3cc677c300790e1aaf /sys/netinet | |
parent | 2e7231aa8ac2bc0d1a682ee2c537382eef3ba3f9 (diff) | |
download | FreeBSD-src-dd891455b5dab960e935f16c355eba415f62f08c.zip FreeBSD-src-dd891455b5dab960e935f16c355eba415f62f08c.tar.gz |
Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO.
MFC after: 1 week.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_usrreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c index c9fad80..b3eb805 100644 --- a/sys/netinet/sctp_usrreq.c +++ b/sys/netinet/sctp_usrreq.c @@ -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) { |