summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-23 10:00:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-23 10:00:10 +0000
commit91d06d9b377f686ad99d46781a05bb22995730f1 (patch)
treefb07f39b4a9670c43af435ed954f0a43cb440162 /sys/netinet
parent2625a10b876d29c1e2c4cef47cf01f1029a4f960 (diff)
Missing splx in error handling.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_spd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c
index 8b5c8272712..fdd2fe44358 100644
--- a/sys/netinet/ip_spd.c
+++ b/sys/netinet/ip_spd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_spd.c,v 1.17 2001/04/14 00:30:59 angelos Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.18 2001/04/23 10:00:09 art Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -893,6 +893,7 @@ ipsp_clear_acquire(struct tdb *tdb)
if (IF_QFULL(ifq))
{
IF_DROP(ifq);
+ splx(s);
break;
}
IF_ENQUEUE(ifq, ipa->ipa_packet);
@@ -922,6 +923,7 @@ ipsp_clear_acquire(struct tdb *tdb)
if (IF_QFULL(ifq))
{
IF_DROP(ifq);
+ splx(s);
break;
}
IF_ENQUEUE(ifq, ipa->ipa_packet);