]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove ip6_getdstifaddr() and all functions to work with auxiliary data.
authorAndrey V. Elsukov <ae@FreeBSD.org>
Sat, 8 Nov 2014 19:38:34 +0000 (19:38 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Sat, 8 Nov 2014 19:38:34 +0000 (19:38 +0000)
commit3e88eb903befabe44a72c071cd792f22c5e587bd
tree5a58dd3854acb5116e2df4970d71e6075817127d
parente977d70f4573d2643415b32028fd791c8381600b
Remove ip6_getdstifaddr() and all functions to work with auxiliary data.
It isn't safe to keep unreferenced ifaddrs. Use in6ifa_ifwithaddr() to
determine ifaddr corresponding to destination address. Since currently
we keep addresses with embedded scope zone, in6ifa_ifwithaddr is called
with zero zoneid and marked with XXX.

Also remove route and lle lookups from ip6_input. Use in6ifa_ifwithaddr()
instead.

Sponsored by: Yandex LLC
sys/netinet/tcp_input.c
sys/netinet6/frag6.c
sys/netinet6/icmp6.c
sys/netinet6/ip6_input.c
sys/netinet6/ip6_var.h