HomeFreeBSD

Make sure a valid VNET is set before trying to access the V_ip6_v6only

Description

Make sure a valid VNET is set before trying to access the V_ip6_v6only
variable. Access the variable directly instead of going through the sysctl()
interface in the kernel.

Sponsored by: Mellanox Technologies
MFC after: 1 week

Details