Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6.c
Show First 20 Lines • Show All 2,129 Lines • ▼ Show 20 Lines | in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) | ||||
/* Unlink entry from table */ | /* Unlink entry from table */ | ||||
if ((lle->la_flags & LLE_LINKED) != 0) { | if ((lle->la_flags & LLE_LINKED) != 0) { | ||||
ifp = llt->llt_ifp; | ifp = llt->llt_ifp; | ||||
IF_AFDATA_WLOCK_ASSERT(ifp); | IF_AFDATA_WLOCK_ASSERT(ifp); | ||||
lltable_unlink_entry(llt, lle); | lltable_unlink_entry(llt, lle); | ||||
} | } | ||||
if (callout_stop(&lle->lle_timer) > 0) | |||||
LLE_REMREF(lle); | |||||
llentry_free(lle); | llentry_free(lle); | ||||
} | } | ||||
static int | static int | ||||
in6_lltable_rtcheck(struct ifnet *ifp, | in6_lltable_rtcheck(struct ifnet *ifp, | ||||
u_int flags, | u_int flags, | ||||
const struct sockaddr *l3addr) | const struct sockaddr *l3addr) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 408 Lines • Show Last 20 Lines |