Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_ifattach.c
| Show First 20 Lines • Show All 911 Lines • ▼ Show 20 Lines | #ifdef VIMAGE | ||||
| /* | /* | ||||
| * On VNET shutdown abort here as the stack teardown will do all | * On VNET shutdown abort here as the stack teardown will do all | ||||
| * the work top-down for us. XXXGL: see comment in in.c:in_ifdetach(). | * the work top-down for us. XXXGL: see comment in in.c:in_ifdetach(). | ||||
| */ | */ | ||||
| if (!VNET_IS_SHUTTING_DOWN(ifp->if_vnet)) | if (!VNET_IS_SHUTTING_DOWN(ifp->if_vnet)) | ||||
| #endif | #endif | ||||
| _in6_ifdetach(ifp, 1); | _in6_ifdetach(ifp, 1); | ||||
| mld_domifdetach(ifp); | mld_domifdetach(ifp); | ||||
| scope6_ifdetach(ext->scope6_id); | |||||
| nd6_ifdetach(ifp); | nd6_ifdetach(ifp); | ||||
| lltable_free(ext->lltable); | lltable_free(ext->lltable); | ||||
| COUNTER_ARRAY_FREE(ext->in6_ifstat, | COUNTER_ARRAY_FREE(ext->in6_ifstat, | ||||
| sizeof(struct in6_ifstat) / sizeof(uint64_t)); | sizeof(struct in6_ifstat) / sizeof(uint64_t)); | ||||
| COUNTER_ARRAY_FREE(ext->icmp6_ifstat, | COUNTER_ARRAY_FREE(ext->icmp6_ifstat, | ||||
| sizeof(struct icmp6_ifstat) / sizeof(uint64_t)); | sizeof(struct icmp6_ifstat) / sizeof(uint64_t)); | ||||
| free(ext, M_IFADDR); | free(ext, M_IFADDR); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines | |||||