diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2009-11-09 15:11:37 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2009-11-09 15:11:37 +0000 |
| commit | c303f1eb39e23c0459bd9cf38b0d2f41dd872afd (patch) | |
| tree | 74ae2efd0e8c8338ecb7289b1816e3c5572ab579 /sys/netinet6 | |
| parent | cbd57efc02ccfef132f199f6893bc74602c58cf3 (diff) | |
Notes
Diffstat (limited to 'sys/netinet6')
| -rw-r--r-- | sys/netinet6/nd6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index acaa87e63a3c..29eeb440e00f 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -502,12 +502,13 @@ nd6_llinfo_timer(void *arg) ndi = ND_IFINFO(ifp); dst = &L3_ADDR_SIN6(ln)->sin6_addr; - if ((ln->la_flags & LLE_STATIC) || (ln->la_expire > time_second)) { + if (ln->la_flags & LLE_STATIC) { goto done; } if (ln->la_flags & LLE_DELETED) { (void)nd6_free(ln, 0); + ln = NULL; goto done; } |
