Searched hist:297705 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/netinet6/
H A Din6_src.cdiff 297705 Fri Apr 08 09:22:22 MDT 2016 ae Fix regression introduced in r296986.

Currently we don't keep zoneid in in6_ifaddr structure, because there
is still some code, that doesn't properly initialize sin6_scope_id,
but some functions use sa_equal() for addresses comparison. sa_equal()
compares full sockaddr_in6 structures and such comparison will fail.
For now use zero zoneid in in6ifa_ifwithaddr(). It is safe, because
used address is in embedded form. In future we will use zoneid, so mark it
with XXX comment.

Reported by: kp
Tested by: kp

Completed in 98 milliseconds