summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-17 11:06:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-17 11:06:19 +0000
commitab0b7a19c281ed0e350799d7a1dac346aa6734ec (patch)
treedf85cd751bd093e9a24bb43bf300523a41db336f
parent96abcd7e987acb7a5efbad966184c30506efb084 (diff)
bad splx, bad bad bad
-rw-r--r--sys/net/if_tun.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index 76bb0813d11..66eb121833c 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tun.c,v 1.13 1996/06/02 17:24:58 niklas Exp $ */
+/* $OpenBSD: if_tun.c,v 1.14 1996/06/17 11:06:18 deraadt Exp $ */
/* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */
/*
@@ -625,7 +625,6 @@ tunwrite(dev, uio, ioflag)
#endif
default:
m_freem(top);
- splx(s);
return EAFNOSUPPORT;
}