summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_autoinit.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2016-04-08 11:13:24 +0000
committerae <ae@FreeBSD.org>2016-04-08 11:13:24 +0000
commit3f81fe2ce06b0be2c179e60d88d8316d47f0c5a2 (patch)
treeea82fc43e131622e3a3fe43e1272bf3cca5a668e /lib/libthr/thread/thr_autoinit.c
parent7dbfd5ad027d5eede9963cdaf6b072e4981ef62b (diff)
downloadFreeBSD-src-3f81fe2ce06b0be2c179e60d88d8316d47f0c5a2.zip
FreeBSD-src-3f81fe2ce06b0be2c179e60d88d8316d47f0c5a2.tar.gz
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
Diffstat (limited to 'lib/libthr/thread/thr_autoinit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud