summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.c
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2015-08-11 12:38:54 +0000
committermelifaro <melifaro@FreeBSD.org>2015-08-11 12:38:54 +0000
commit0c24547a6601393b02ca3eda7ccc3fd0c26ff55c (patch)
treed443248beda555ecbf656be0f161a735357a4908 /sys/net/if_llatbl.c
parentdda8fad434f4f19e50af15e33a5407d253f424c3 (diff)
downloadFreeBSD-src-0c24547a6601393b02ca3eda7ccc3fd0c26ff55c.zip
FreeBSD-src-0c24547a6601393b02ca3eda7ccc3fd0c26ff55c.tar.gz
Use single 'lle_timer' callout in lltable instead of
two different names of the same timer.
Diffstat (limited to 'sys/net/if_llatbl.c')
-rw-r--r--sys/net/if_llatbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
index b68c19c..3f9e38a 100644
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -374,7 +374,7 @@ lltable_free(struct lltable *llt)
IF_AFDATA_WUNLOCK(llt->llt_ifp);
LIST_FOREACH_SAFE(lle, &dchain, lle_chain, next) {
- if (callout_stop(&lle->la_timer))
+ if (callout_stop(&lle->lle_timer))
LLE_REMREF(lle);
llentry_free(lle);
}
@@ -656,7 +656,7 @@ llatbl_lle_show(struct llentry_sa *la)
bcopy(&lle->ll_addr.mac16, octet, sizeof(octet));
db_printf(" ll_addr=%02x:%02x:%02x:%02x:%02x:%02x\n",
octet[0], octet[1], octet[2], octet[3], octet[4], octet[5]);
- db_printf(" la_timer=%p\n", &lle->la_timer);
+ db_printf(" lle_timer=%p\n", &lle->lle_timer);
switch (la->l3_addr.sa_family) {
#ifdef INET
OpenPOWER on IntegriCloud