| 2167 | } |
| 2168 | |
| 2169 | static void |
| 2170 | in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) |
| 2171 | { |
| 2172 | struct ifnet *ifp; |
| 2173 | |
| 2174 | LLE_WLOCK_ASSERT(lle); |
| 2175 | KASSERT(llt != NULL, ("lltable is NULL")); |
| 2176 | |
| 2177 | /* Unlink entry from table */ |
| 2178 | if ((lle->la_flags & LLE_LINKED) != 0) { |
| 2179 | ifp = llt->llt_ifp; |
| 2180 | IF_AFDATA_WLOCK_ASSERT(ifp); |
| 2181 | lltable_unlink_entry(llt, lle); |
| 2182 | } |
| 2183 | |
| 2184 | llentry_free(lle); |
| 2185 | } |
| 2186 | |
| 2187 | static int |
| 2188 | in6_lltable_rtcheck(struct ifnet *ifp, |
nothing calls this directly
no test coverage detected