]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure inp_vflag is consistently set for TCP endpoints.
authorMichael Tuexen <tuexen@FreeBSD.org>
Fri, 18 Aug 2017 07:27:15 +0000 (07:27 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Fri, 18 Aug 2017 07:27:15 +0000 (07:27 +0000)
commit63ec505a4fe8d63d2a8f114edd0f18f6224eeb36
tree5d0ab834510d4a7096bf59efb960374bef8842ec
parente9666bf645105d08bcb6dffd5c36d02f817841b7
Ensure inp_vflag is consistently set for TCP endpoints.

Make sure that the flags INP_IPV4 and INP_IPV6 are consistently set
for inpcbs used for TCP sockets, no matter if the setting is derived
from the net.inet6.ip6.v6only sysctl or the IPV6_V6ONLY socket option.
For UDP this was already done right.

PR: 221385
MFC after: 1 week
sys/netinet/tcp_usrreq.c