summaryrefslogtreecommitdiffstats
path: root/sys/netinet/toecore.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/toecore.c')
-rw-r--r--sys/netinet/toecore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/toecore.c b/sys/netinet/toecore.c
index 5ca4604..ec73f91 100644
--- a/sys/netinet/toecore.c
+++ b/sys/netinet/toecore.c
@@ -463,8 +463,7 @@ restart:
IF_AFDATA_RUNLOCK(ifp);
if (lle == NULL) {
IF_AFDATA_LOCK(ifp);
- lle = nd6_lookup(&sin6->sin6_addr, ND6_CREATE | ND6_EXCLUSIVE,
- ifp);
+ lle = nd6_create(&sin6->sin6_addr, 0, ifp);
IF_AFDATA_UNLOCK(ifp);
if (lle == NULL)
return (ENOMEM); /* Couldn't create entry in cache. */
OpenPOWER on IntegriCloud