summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-20 16:39:35 +0000
committerpeter <peter@FreeBSD.org>1998-06-20 16:39:35 +0000
commit1e927e303467817cd10d97a8e2b50e501149301b (patch)
treeb8fcbab2359877063af8e10dd41d14f583e4450b /sys/net
parent30f088ad7bc38164fba1bda3e8d767e2ab1959de (diff)
downloadFreeBSD-src-1e927e303467817cd10d97a8e2b50e501149301b.zip
FreeBSD-src-1e927e303467817cd10d97a8e2b50e501149301b.tar.gz
Missing splx().
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ppp_tty.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index 6cfbf18..dc48c8f 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -70,7 +70,7 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
-/* $Id: ppp_tty.c,v 1.35 1998/05/01 16:40:21 bde Exp $ */
+/* $Id: ppp_tty.c,v 1.36 1998/06/07 17:12:07 dfr Exp $ */
#include "ppp.h"
#if NPPP > 0
@@ -651,8 +651,10 @@ pppasyncstart(sc)
*/
if (len) {
s = spltty();
- if (putc(PPP_ESCAPE, &tp->t_outq))
+ if (putc(PPP_ESCAPE, &tp->t_outq)) {
+ splx(s);
break;
+ }
if (putc(*start ^ PPP_TRANS, &tp->t_outq)) {
(void) unputc(&tp->t_outq);
splx(s);
OpenPOWER on IntegriCloud