]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure that the IPPROTO_TCP level socket options
authorMichael Tuexen <tuexen@FreeBSD.org>
Wed, 14 Sep 2016 14:48:00 +0000 (14:48 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Wed, 14 Sep 2016 14:48:00 +0000 (14:48 +0000)
commit5a17b6ad98c6c3fa7a7a1ab02551abfb25cc40c9
tree71f32e1667b540894e313764c879409557ae30e9
parent701ac8805572932eaf2e93a3bbda4561e03300c5
Ensure that the IPPROTO_TCP level socket options
* TCP_KEEPINIT
* TCP_KEEPINTVL
* TCP_KEEPIDLE
* TCP_KEEPCNT
always always report the values currently used when getsockopt()
is used. This wasn't the case when the sysctl-inherited default
values where used.
Ensure that the IPPROTO_TCP level socket option TCP_INFO has the
TCPI_OPT_ECN flag set in the tcpi_options field when ECN support
has been negotiated successfully.

Reviewed by: rrs, jtl, hiren
MFC after: 1 month
Differential Revision: 7833
sys/netinet/tcp_usrreq.c