diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-03-06 08:59:08 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-03-06 08:59:08 +0000 |
commit | c3a025e0cb97be130ce72accfff37206fc634f05 (patch) | |
tree | cd77ac51db626433917b4aa6e0d7cac2a0c65714 /sys/netinet6/in6.c | |
parent | 206a0c89ac678b4a909903e785901319ce9fe30a (diff) |
Kill global list of IPv6 addresses.
ok bluhm@
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r-- | sys/netinet6/in6.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index eee64de70a4..8e97cf848d3 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.199 2017/02/16 10:15:12 mpi Exp $ */ +/* $OpenBSD: in6.c,v 1.200 2017/03/06 08:59:07 mpi Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -614,7 +614,6 @@ in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, ia6->ia_ifa.ifa_netmask = sin6tosa(&ia6->ia_prefixmask); ia6->ia_ifp = ifp; - TAILQ_INSERT_TAIL(&in6_ifaddr, ia6, ia_list); ia6->ia_addr = ifra->ifra_addr; ifa_add(ifp, &ia6->ia_ifa); } @@ -897,8 +896,6 @@ in6_unlink_ifa(struct in6_ifaddr *ia6, struct ifnet *ifp) splsoftassert(IPL_SOFTNET); - TAILQ_REMOVE(&in6_ifaddr, ia6, ia_list); - /* Release the reference to the base prefix. */ if (ia6->ia6_ndpr == NULL) { plen = in6_mask2len(&ia6->ia_prefixmask.sin6_addr, NULL); |