]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove ip6_getdstifaddr() and all functions to work with auxiliary data.
authorae <ae@FreeBSD.org>
Sat, 8 Nov 2014 19:38:34 +0000 (19:38 +0000)
committerae <ae@FreeBSD.org>
Sat, 8 Nov 2014 19:38:34 +0000 (19:38 +0000)
commit61303c568a276b169691c79f829d3d0ec3127e4f
tree5a58dd3854acb5116e2df4970d71e6075817127d
parente828e4c8157ecced4f11bc1f671e275d7ad7951d
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