ae 0bad7195e9 Simplify in6_setscope() function to get better performance.
Currently we use interface indeces as zone IDs for link-local and
interface-local scopes, and since we don't have any tool to configure
zone IDs, there is no need to acquire the afdata lock several times per
packet only to read if_index value.
So, now in6_setscope reads zone IDs for interface-local, link-local and
global scopes without a lock.

Sponsored by:	Yandex LLC
MFC after:	2 weeks
2013-01-10 00:10:24 +00:00
..
2013-01-09 01:54:17 +00:00
2012-10-10 08:36:38 +00:00
2012-11-01 04:07:08 +00:00
2013-01-08 12:21:50 +00:00
2012-12-28 09:19:49 +00:00
2012-10-10 08:36:38 +00:00
2013-01-04 09:52:09 +00:00
2013-01-03 23:12:08 +00:00
2013-01-09 20:10:45 +00:00