]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the inheritance of IPv6 level socket options on TCP sockets.
authortuexen <tuexen@FreeBSD.org>
Tue, 21 Aug 2018 14:07:36 +0000 (14:07 +0000)
committertuexen <tuexen@FreeBSD.org>
Tue, 21 Aug 2018 14:07:36 +0000 (14:07 +0000)
commit3f0e4c422a3b7db87f41437ff3c8d45db72434e8
tree6d82f5a23571f290a8a335bcc7680fead9018875
parent3e0ad7d79480a094c94213f0f8b94253918edc55
Fix the inheritance of IPv6 level socket options on TCP sockets.

This was broken for IPv6 listening socket, which are not IPV6_ONLY,
and the accepted TCP connection was using IPv4.

Reviewed by: bz@, rrs@
MFC after: 1 month
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16792
sys/netinet/tcp_syncache.c