summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>1999-12-10 17:53:15 +0000
committeritojun <itojun@openbsd.org>1999-12-10 17:53:15 +0000
commit91e696348ddfb2c25caa48dbf7b84d0a8f6fde4b (patch)
tree31da1b4784278fda7bb1aed2b2cccc99cb3e1417
parentsync DIAGNOSTIC code with reality. we always get cluster mbuf so (diff)
downloadwireguard-openbsd-91e696348ddfb2c25caa48dbf7b84d0a8f6fde4b.tar.xz
wireguard-openbsd-91e696348ddfb2c25caa48dbf7b84d0a8f6fde4b.zip
a critical fix from kame: add missing splx().
-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;