There was bug reported on the current@ mailing list. When a TCP client connects to a server running on the same host, but using a global IPv6 address, the transmission and the first retransmission is reported as received on the interface the global IPv6 address is configured on. The second retransmission is reported on the loopback device. This results in dropping the first two packets if the
sysctl variable
net.inet6.ip6.source_address_validation is set to 1. The support for this
sysctl variable was introduced by this
commit. glebius@ and tuexen@ will look into this.