summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-10 17:53:16 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-10 17:53:16 +0000
commit503b0e1b5609f8a348b5db17f17e39be1abb5d76 (patch)
treef226384116bdda25bed305891ba2929771a8a2e0 /sys/netinet6/nd6.c
parent12edd853a250fabc797337976c043ac9aa687d5c (diff)
a critical fix from kame: add missing splx().
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r--sys/netinet6/nd6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index 5943de5b238..2797b71deb9 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.2 1999/12/10 10:04:28 angelos Exp $ */
+/* $OpenBSD: nd6.c,v 1.3 1999/12/10 17:53:15 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1251,6 +1251,7 @@ nd6_ioctl(cmd, data, ifp)
if ((rt = nd6_lookup(&nb_addr, 0, ifp)) == NULL) {
error = EINVAL;
+ splx(s);
break;
}
ln = (struct llinfo_nd6 *)rt->rt_llinfo;