summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 07:10:48 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 07:10:48 +0000
commit222817b748cb9818e358bad83caea1a2e01e0aed (patch)
treedbb8352830b93032cedbb03fe9cba7b645183b8f /sys
parentb72c7c51d28aa75cf9bf3ee33fc249b673607d7c (diff)
Missing splx(s). Thanks to dawson and team
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_gre.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index 4fc7015d359..7b8145f8d9c 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gre.c,v 1.8 2001/03/07 05:43:49 aaron Exp $ */
+/* $OpenBSD: if_gre.c,v 1.9 2001/03/25 07:10:47 csapuntz Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -494,6 +494,7 @@ gre_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
{
sc->g_src.s_addr = INADDR_ANY;
sc->g_dst.s_addr = INADDR_ANY;
+ splx(s);
return EIO; /* Is this is good ? */
}
ifp->if_flags |= IFF_UP;