Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO.
MFC after: 1 week.
This commit is contained in:
parent
2e7231aa8a
commit
dd891455b5
@ -2489,6 +2489,7 @@ sctp_getopt(struct socket *so, int optname, void *optval, size_t *optsize,
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user