]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r322648:
authortuexen <tuexen@FreeBSD.org>
Tue, 17 Oct 2017 12:42:17 +0000 (12:42 +0000)
committertuexen <tuexen@FreeBSD.org>
Tue, 17 Oct 2017 12:42:17 +0000 (12:42 +0000)
commit9816c8a7f6b7325cf9c9c39bfa7d8f96781ceb1a
treee3b2d86f0b0b21f7fd1ef3776c97302ac8a86390
parentba15b270164dad922780dbc11059ec8c70999425
MFC r322648:

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
sys/netinet/tcp_usrreq.c