HomeFreeBSD

Fix the inheritance of IPv6 level socket options on TCP sockets.

Description

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

Details

Provenance
tuexenAuthored on
Differential Revision
D16792: Fix inheritance of IPv6 options
Parents
rS338136: Add SOL_SOCKET level socket option with name SO_DOMAIN to get
Branches
Unknown
Tags
Unknown