summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2009-11-06 10:07:38 +0000
committerume <ume@FreeBSD.org>2009-11-06 10:07:38 +0000
commite8e9c60f27a2dbff0af8fcded13a5bd1bf8dd483 (patch)
tree3ef67ed255b59ad3def5bdbb5d1065100de7c503
parentb38978f7902a3c12b4e958fa7159e29ea2d39d9a (diff)
downloadFreeBSD-src-e8e9c60f27a2dbff0af8fcded13a5bd1bf8dd483.zip
FreeBSD-src-e8e9c60f27a2dbff0af8fcded13a5bd1bf8dd483.tar.gz
Don't call LLE_FREE() after nd6_free().
MFC after: 3 days
-rw-r--r--sys/netinet6/nd6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index de1773e..30fad17 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -513,6 +513,7 @@ nd6_llinfo_timer(void *arg)
if (ln->la_flags & LLE_DELETED) {
(void)nd6_free(ln, 0);
+ ln = NULL;
goto done;
}
OpenPOWER on IntegriCloud